Class: DatePickerInput

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

Instance Method Summary collapse

Instance Method Details

#inputObject



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

def input
  input_html_options[:class] |= ["datepicker"]
  input_html_options[:type] = "text"
  super
end