foodsoft/app/views/admin/ordergroups/_form.html.haml

12 lines
480 B
Plaintext

- unless @ordergroup.new_record?
%p= t('.first_paragraph', url: link_to(t('.here'), new_invite_path(id: @ordergroup.id), remote: true)).html_safe
= simple_form_for [:admin, @ordergroup] do |f|
= render :layout => 'shared/group_form_fields', :locals => {:f => f} do
= f.input :contact_person
= f.input :contact_phone
= f.input :contact_address
= f.input :ignore_apple_restriction
.form-actions
= f.button :submit
= link_to t('admin.or_cancel'), :back