Class: FormattedBooleanInput
- Inherits:
-
SimpleForm::Inputs::Base
- Object
- SimpleForm::Inputs::Base
- FormattedBooleanInput
- Defined in:
- app/inputs/formatted_boolean_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options = nil) ⇒ Object
2 3 4 5 |
# File 'app/inputs/formatted_boolean_input.rb', line 2 def input( = nil) = (, ) @builder.check_box(attribute_name, , checked_value, unchecked_value) end |