foodsoft/app/views/workgroups/index.html.haml

39 lines
1 KiB
Text
Raw Permalink Normal View History

2013-02-13 01:32:48 +01:00
- title t('.title')
%table
%tr
%th Type
%th Name
%th Description
%th Account Balance
%th Account Updated
%th Created On
%th Role Admin
%th Role Suppliers
%th Role Article Meta
%th Role Finance
%th Role Invoices
%th Role Orders
%th Deleted At
%th Contact Person
%th Contact Phone
%th Contact Address
- for workgroup in @workgroups
%tr
%td= h workgroup.type
%td= h workgroup.name
%td= h workgroup.description
%td= h workgroup.account_balance
%td= h workgroup.account_updated
%td= h workgroup.created_on
%td= h workgroup.role_admin
%td= h workgroup.role_suppliers
%td= h workgroup.role_article_meta
%td= h workgroup.role_finance
%td= h workgroup.role_invoices
%td= h workgroup.role_orders
%td= h workgroup.deleted_at
%td= h workgroup.contact_person
%td= h workgroup.contact_phone
%td= h workgroup.contact_address
2013-02-13 01:32:48 +01:00
%td= link_to t('ui.edit'), edit_workgroup_path(workgroup)