Class: DatePickerInput

Inherits:
SimpleForm::Inputs::StringInput
  • Object
show all
Defined in:
app/inputs/date_picker_input.rb

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options) ⇒ Object



2
3
4
5
# File 'app/inputs/date_picker_input.rb', line 2

def input(wrapper_options)
  options = merge_wrapper_options(input_html_options, wrapper_options)
  @builder.text_field attribute_name, options.merge(class: 'input-small datepicker')
end