Files
mozo-backend/app/assets/javascripts/supplier/app/templates/employees/index.emblem
T
2015-02-18 22:36:47 +01:00

24 lines
808 B
Plaintext

.row: .small-12.columns
h1=t 'models.plural.employee'
if employees
table.table
thead
tr
th.name=t 'attributes.employee.name'
th.email=t 'attributes.employee.email'
th.actions=t 'helpers.actions.title'
tbody
each employee in employees
tr
td: link-to 'employee' employee: span= employee.name
td.email
= employee.email
= errors employee.errors.email
td.actions
can manage sections
a.table-edit{ action 'editEmployee' employee }: span
a.table-destroy{ action 'destroyEmployee' employee }: span
.form-actions
can manage employees
a.form-action-new.new-employee-button{action "newEmployee"}= t 'employee.new_button'