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

@ -5,8 +5,9 @@
= f.input :contact_person
= f.input :contact_phone
= f.input :contact_address
= f.input :break_start, as: :date_picker
= f.input :break_end, as: :date_picker
.fold-line
= f.input :break_start, as: :date_picker, label: Ordergroup.human_attribute_name('break')
= f.input :break_end, as: :date_picker, label: Ordergroup.human_attribute_name('break_until')
- if FoodsoftConfig[:use_apple_points]
= f.input :ignore_apple_restriction, :label => false, :inline_label => true
= render 'shared/group_form_fields', f: f, captured: captured