aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-11-25 15:08:19 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-11-25 15:08:19 -0500
commitaec84648818ee677b8ef72b958579c96bf25ab9e (patch)
treec99eda56c02b101d303d40532d9a26862f158218 /actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb
parentaee1a2802f03d864edc1b856e6461ef8b80a78b5 (diff)
downloadrails-aec84648818ee677b8ef72b958579c96bf25ab9e.tar.gz
rails-aec84648818ee677b8ef72b958579c96bf25ab9e.tar.bz2
rails-aec84648818ee677b8ef72b958579c96bf25ab9e.zip
Make sure that form_with_generates_ids only affects form_with
Diffstat (limited to 'actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb')
-rw-r--r--actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb b/actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb
index b25e124a15..16d37134e5 100644
--- a/actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb
+++ b/actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb
@@ -11,6 +11,7 @@ module ActionView
class RadioButtonBuilder < Builder # :nodoc:
def radio_button(extra_html_options = {})
html_options = extra_html_options.merge(@input_html_options)
+ html_options[:skip_default_ids] = false
@template_object.radio_button(@object_name, @method_name, @value, html_options)
end
end