foodsoft/app/inputs/date_picker_input.rb

6 lines
167 B
Ruby
Raw Normal View History

2012-10-08 21:52:03 +02:00
class DatePickerInput < SimpleForm::Inputs::StringInput
def input
@builder.text_field(attribute_name, input_html_options.merge({class: 'datepicker'}))
end
end