2016-03-06 13:56:33 +01:00
|
|
|
- unless @ordergroup.new_record? || FoodsoftConfig[:disable_invite]
|
2013-02-03 18:10:11 +01:00
|
|
|
%p= t('.first_paragraph', url: link_to(t('.here'), new_invite_path(id: @ordergroup.id), remote: true)).html_safe
|
2011-06-10 01:36:04 +02:00
|
|
|
= simple_form_for [:admin, @ordergroup] do |f|
|
2014-04-29 19:21:03 +02:00
|
|
|
- captured = capture do
|
2011-06-10 01:36:04 +02:00
|
|
|
= f.input :contact_person
|
|
|
|
= f.input :contact_phone
|
|
|
|
= f.input :contact_address
|
2014-02-25 10:53:28 +01:00
|
|
|
- if FoodsoftConfig[:use_apple_points]
|
|
|
|
= f.input :ignore_apple_restriction, :label => false, :inline_label => true
|
2014-04-29 19:21:03 +02:00
|
|
|
= render 'shared/group_form_fields', f: f, captured: captured
|
2012-10-15 21:19:17 +02:00
|
|
|
.form-actions
|
|
|
|
= f.button :submit
|
2013-04-04 02:49:52 +02:00
|
|
|
= link_to t('ui.or_cancel'), :back
|