mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
Have the form builder output radio button, not check box, when calling the radio button helper. Closes #3331.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Have the form builder output radio button, not check box, when calling the radio button helper. #3331 [LouisStAmour@gmail.com]
|
||||
|
||||
* Added assignment of the Autocompleter object created by JavaScriptMacroHelper#auto_complete_field to a local javascript variables [DHH]
|
||||
|
||||
* Added :on option for PrototypeHelper#observe_field that allows you to specify a different callback hook to have the observer trigger on [DHH]
|
||||
|
||||
@@ -370,7 +370,7 @@ module ActionView
|
||||
end
|
||||
|
||||
def radio_button(method, tag_value, options = {})
|
||||
@template.check_box(@object_name, method, tag_value, options.merge(:object => @object))
|
||||
@template.radio_button(@object_name, method, tag_value, options.merge(:object => @object))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user