Class: SimpleFormWithClientValidation::ActionViewExtensions::CheckBoxBuilder
- Inherits:
-
BuilderBase
- Object
- BuilderBase
- SimpleFormWithClientValidation::ActionViewExtensions::CheckBoxBuilder
- Defined in:
- lib/simple_form_with_client_validation/action_view_extensions/builder.rb
Overview
Handles generating an instance of check box + label for collection_check_boxes.
Instance Attribute Summary
Attributes inherited from BuilderBase
Instance Method Summary collapse
Methods inherited from BuilderBase
Constructor Details
This class inherits a constructor from SimpleFormWithClientValidation::ActionViewExtensions::BuilderBase
Instance Method Details
#check_box(extra_html_options = {}) ⇒ Object
:nodoc:
34 35 36 37 |
# File 'lib/simple_form_with_client_validation/action_view_extensions/builder.rb', line 34 def check_box(={}) = .merge(@input_html_options) @form_builder.check_box(@method_name, , @value, nil) end |