123456789_123456789_123456789_123456789_123456789_

Class: ActionView::Helpers::Tags::CollectionCheckBoxes::CheckBoxBuilder

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Builder
Instance Chain:
self, Builder
Inherits: Builder
  • ::Object
Defined in: actionview/lib/action_view/helpers/tags/collection_check_boxes.rb

Instance Method Summary

Instance Method Details

#check_box(extra_html_options = {})

[ GitHub ]

  
# File 'actionview/lib/action_view/helpers/tags/collection_check_boxes.rb', line 13

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