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