Make ordergroup break fields a bit nicer

This commit is contained in:
wvengen 2016-03-11 13:56:02 +01:00
parent b067808937
commit 42eb6c8509
3 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
class DatePickerInput < SimpleForm::Inputs::StringInput
def input(wrapper_options)
options = merge_wrapper_options(input_html_options, wrapper_options)
@builder.text_field attribute_name, options.merge(class: 'datepicker')
@builder.text_field attribute_name, options.merge(class: 'input-small datepicker')
end
end