diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-02-01 20:12:52 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-02-02 14:52:59 -0200 |
commit | 5d8191a263c7439219b56ed5396ceebed981af2d (patch) | |
tree | 12f88c549b8a24e74435cf853d19f0b6e2ef2990 /actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb | |
parent | 0f234261552dae68b66d3d0271ef39c343082c36 (diff) | |
download | rails-5d8191a263c7439219b56ed5396ceebed981af2d.tar.gz rails-5d8191a263c7439219b56ed5396ceebed981af2d.tar.bz2 rails-5d8191a263c7439219b56ed5396ceebed981af2d.zip |
Remove default class to collection_check_boxes and
collection_radio_buttons
[Carlos Antonio da Silva + Rafael Mendonça França]
Diffstat (limited to 'actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb b/actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb index d11f8632b9..8e7aeeed63 100644 --- a/actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb +++ b/actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb @@ -20,7 +20,7 @@ module ActionView if block_given? yield builder else - builder.radio_button + builder.label(:class => "collection_radio_buttons") + builder.radio_button + builder.label end end end |