Class: DatepickerInput
- Inherits:
-
SimpleForm::Inputs::StringInput
- Object
- SimpleForm::Inputs::StringInput
- DatepickerInput
- Defined in:
- lib/simple_form_custom_inputs/simple_form/datepicker_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/simple_form_custom_inputs/simple_form/datepicker_input.rb', line 2 def input() [:data] ||= {} [:class] << 'datepicker' [:data].merge!({ locale: I18n.locale }) super end |