End of day commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
= outlet
|
||||
@@ -0,0 +1,21 @@
|
||||
.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
|
||||
a.table-edit{ action 'editEmployee' employee }: span
|
||||
a.table-destroy{ action 'destroyEmployee' employee }: span
|
||||
.form-actions
|
||||
a.form-action-new.new-employee-button{action "newEmployee"}= t 'employee.new_button'
|
||||
@@ -13,6 +13,8 @@ header.top-menu
|
||||
= t 'models.plural.table'
|
||||
= link-to "lists" class="top-menu-lists"
|
||||
= t 'models.plural.list'
|
||||
= link-to "employees" class="top-menu-employees"
|
||||
= t 'models.plural.employee'
|
||||
.extra-info{action "showSupplierStatusInfo"}
|
||||
.supplier-info-row
|
||||
.counter.supplier-orders-placed-count
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
p=t 'employee.edit.modal.body_header'
|
||||
.form-row.name
|
||||
.form-label=t 'attributes.employee.name'
|
||||
.form-field
|
||||
= input valueBinding="model.name"
|
||||
= errors model.errors.name
|
||||
.form-row.name
|
||||
.form-label=t 'attributes.employee.email'
|
||||
.form-field
|
||||
= input type="email" valueBinding="model.email"
|
||||
= errors model.errors.email
|
||||
hr
|
||||
button.modal-close{action "close"}=t 'section.add_employees.modal.close_button'
|
||||
button.modal-confirm.right{action "save"}=t 'section.add_employees.modal.add_button'
|
||||
Reference in New Issue
Block a user