diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-11-25 15:08:19 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-11-25 15:08:19 -0500 |
commit | aec84648818ee677b8ef72b958579c96bf25ab9e (patch) | |
tree | c99eda56c02b101d303d40532d9a26862f158218 /actionview/lib/action_view/helpers/tags/collection_check_boxes.rb | |
parent | aee1a2802f03d864edc1b856e6461ef8b80a78b5 (diff) | |
download | rails-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_check_boxes.rb')
-rw-r--r-- | actionview/lib/action_view/helpers/tags/collection_check_boxes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/lib/action_view/helpers/tags/collection_check_boxes.rb b/actionview/lib/action_view/helpers/tags/collection_check_boxes.rb index 021a6c0c0c..455442178e 100644 --- a/actionview/lib/action_view/helpers/tags/collection_check_boxes.rb +++ b/actionview/lib/action_view/helpers/tags/collection_check_boxes.rb @@ -12,6 +12,7 @@ module ActionView def check_box(extra_html_options = {}) html_options = extra_html_options.merge(@input_html_options) html_options[:multiple] = true + html_options[:skip_default_ids] = false @template_object.check_box(@object_name, @method_name, html_options, @value, nil) end end |