mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05: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:
parent
945dd920ab
commit
b30ccefe6f
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue