Class: Essence::ToggleInput
- Inherits:
-
SimpleForm::Inputs::BooleanInput
- Object
- SimpleForm::Inputs::BooleanInput
- Essence::ToggleInput
- Defined in:
- app/inputs/essence/toggle_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options = nil) ⇒ Object
5 6 7 8 9 10 |
# File 'app/inputs/essence/toggle_input.rb', line 5 def input( = nil) = (, ) @builder.label(attribute_name, ) { '' } + build_check_box(unchecked_value, {}) end |