Class: FormattedBooleanInput

Inherits:
SimpleForm::Inputs::Base
  • Object
show all
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(wrapper_options = nil)
  options = merge_wrapper_options(input_html_options, wrapper_options)
  @builder.check_box(attribute_name, options, checked_value, unchecked_value)
end