aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_helper.rb
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2006-01-06 17:49:14 +0000
committerMarcel Molina <marcel@vernix.org>2006-01-06 17:49:14 +0000
commitb30ccefe6f143e2c907f9cfc71b251cdd88ba7af (patch)
treed7a443d554bade64a7e7fcd2e28fbb247be4c637 /actionpack/lib/action_view/helpers/form_helper.rb
parent945dd920ab0954acdbc9b3317145b267a9638a50 (diff)
downloadrails-b30ccefe6f143e2c907f9cfc71b251cdd88ba7af.tar.gz
rails-b30ccefe6f143e2c907f9cfc71b251cdd88ba7af.tar.bz2
rails-b30ccefe6f143e2c907f9cfc71b251cdd88ba7af.zip
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
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index aea5dc47f3..ce93e1ced3 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -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