e16a0fb336
Some foodcoops require that an admin adds all users to have more control over the users.
15 lines
574 B
Text
15 lines
574 B
Text
- unless FoodsoftConfig[:disable_invite]
|
|
%p= t('.first_paragraph', url: link_to(t('.here'), new_invite_path(id: @workgroup.id), remote: true)).html_safe
|
|
= simple_form_for [:admin, @workgroup] do |f|
|
|
- captured = capture do
|
|
%h4= t 'admin.access_to'
|
|
= f.input :role_suppliers
|
|
= f.input :role_article_meta
|
|
= f.input :role_orders
|
|
= f.input :role_finance
|
|
= f.input :role_invoices
|
|
= f.input :role_admin
|
|
= render 'shared/group_form_fields', :f => f, captured: captured
|
|
.form-actions
|
|
= f.button :submit
|
|
= link_to t('ui.or_cancel'), :back
|