Class: ToggleCheckedInput
- Inherits:
-
SimpleForm::Inputs::BooleanInput
- Object
- SimpleForm::Inputs::BooleanInput
- ToggleCheckedInput
- Defined in:
- app/inputs/toggle_checked_input.rb
Overview
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options) ⇒ Object
3 4 5 6 7 8 |
# File 'app/inputs/toggle_checked_input.rb', line 3 def input() out = '<div class="on_off">' out << @builder.check_box(attribute_name, ) out << '</div>' return out end |