foodsoft/app/inputs/date_picker_input.rb
2012-10-08 21:52:03 +02:00

5 lines
No EOL
166 B
Ruby

class DatePickerInput < SimpleForm::Inputs::StringInput
def input
@builder.text_field(attribute_name, input_html_options.merge({class: 'datepicker'}))
end
end