2012-10-08 21:52:03 +02:00
|
|
|
class DatePickerInput < SimpleForm::Inputs::StringInput
|
2014-12-10 22:03:17 +01:00
|
|
|
def input(wrapper_options)
|
|
|
|
options = merge_wrapper_options(input_html_options, wrapper_options)
|
2016-03-11 13:56:02 +01:00
|
|
|
@builder.text_field attribute_name, options.merge(class: 'input-small datepicker')
|
2012-10-08 21:52:03 +02:00
|
|
|
end
|
2014-02-20 12:37:51 +01:00
|
|
|
end
|