2009-01-13 19:01:56 +01:00
|
|
|
- form_for [:admin, @workgroup] do |@form|
|
2009-01-15 12:14:01 +01:00
|
|
|
- render :layout => 'shared/group_form' do
|
|
|
|
%div{:style => "float:right;width:40%"}
|
|
|
|
%h3 Gruppe hat Zugriff auf
|
|
|
|
%table
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= @form.label :role_admin, "Administration"
|
|
|
|
%td= @form.check_box :role_admin
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= @form.label :role_finance, "Finanzen"
|
|
|
|
%td= @form.check_box :role_finance
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= @form.label :role_suppliers, "Lieferantenverwaltung"
|
|
|
|
%td= @form.check_box :role_suppliers
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= @form.label :role_article_meta, "Artikelverwaltung"
|
|
|
|
%td= @form.check_box :role_article_meta
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= @form.label :role_orders, "Bestellungsverwaltung"
|
|
|
|
%td= @form.check_box :role_orders
|
2009-01-13 19:01:56 +01:00
|
|
|
|
2009-01-15 12:14:01 +01:00
|
|
|
%br{ :style => "clear:both" }
|
|
|
|
= submit_tag "Speichern"
|
|
|
|
|
|
|
|
|
= link_to "Abbrechen", admin_workgroups_path
|