Method: Polaris::BaseCheckbox#call
- Defined in:
- app/components/polaris/base_checkbox.rb
#call ⇒ Object
44 45 46 47 48 49 50 |
# File 'app/components/polaris/base_checkbox.rb', line 44 def call if @form.present? && @attribute.present? @form.check_box(@attribute, system_arguments, @value, @unchecked_value) else check_box_tag(@name, @value, @checked, system_arguments) end end |