aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/tags
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-02-01 20:12:52 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-02-02 14:52:59 -0200
commit5d8191a263c7439219b56ed5396ceebed981af2d (patch)
tree12f88c549b8a24e74435cf853d19f0b6e2ef2990 /actionpack/lib/action_view/helpers/tags
parent0f234261552dae68b66d3d0271ef39c343082c36 (diff)
downloadrails-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')
-rw-r--r--actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb2
-rw-r--r--actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb b/actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb
index 8f0f5c89fe..5f1e9ec026 100644
--- a/actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb
+++ b/actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb
@@ -21,7 +21,7 @@ module ActionView
if block_given?
yield builder
else
- builder.check_box + builder.label(:class => "collection_check_boxes")
+ builder.check_box + builder.label
end
end
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