diff options
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 |