2016-03-06 13:56:33 +01:00
|
|
|
- unless FoodsoftConfig[:disable_invite]
|
|
|
|
%p= t('.first_paragraph', url: link_to(t('.here'), new_invite_path(id: @workgroup.id), remote: true)).html_safe
|
2011-06-10 13:22:15 +02:00
|
|
|
= simple_form_for [:admin, @workgroup] do |f|
|
2014-04-29 19:21:03 +02:00
|
|
|
- captured = capture do
|
2017-10-12 20:50:40 +02:00
|
|
|
= render 'shared/custom_form_fields', f: f, type: :workgroup
|
2013-02-03 19:38:18 +01:00
|
|
|
%h4= t 'admin.access_to'
|
2011-06-10 13:22:15 +02:00
|
|
|
= f.input :role_suppliers
|
|
|
|
= f.input :role_article_meta
|
|
|
|
= f.input :role_orders
|
2017-11-15 23:58:11 +01:00
|
|
|
= f.input :role_pickups
|
2015-04-03 17:02:55 +02:00
|
|
|
= f.input :role_finance
|
2016-02-17 21:07:35 +01:00
|
|
|
= f.input :role_invoices
|
2015-04-03 17:02:55 +02:00
|
|
|
= f.input :role_admin
|
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
|