make apple points optional

a next step would be to move this to a plugin
This commit is contained in:
wvengen 2014-02-25 10:53:28 +01:00
parent f71b78665e
commit 3f032e5dd9
6 changed files with 11 additions and 5 deletions

View file

@ -5,7 +5,8 @@
= f.input :contact_person
= f.input :contact_phone
= f.input :contact_address
= f.input :ignore_apple_restriction, :label => false, :inline_label => true
- if FoodsoftConfig[:use_apple_points]
= f.input :ignore_apple_restriction, :label => false, :inline_label => true
.form-actions
= f.button :submit
= link_to t('ui.or_cancel'), :back