All the little details
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
.row: .small-12.columns
|
||||
h2=t 'models.employee'
|
||||
.display-row
|
||||
.display-label=t 'attributes.employee.name'
|
||||
.display-field= model.name
|
||||
.display-row
|
||||
.display-label=t 'attributes.employee.manager'
|
||||
.display-field= boolean model.manager
|
||||
.display-row
|
||||
.display-label=t 'attributes.employee.active'
|
||||
.display-field= boolean model.active
|
||||
.display-row
|
||||
.display-label=t 'attributes.employee.color'
|
||||
.display-field: span.current-color= colorbox model.color
|
||||
.page-actions
|
||||
.small-12.columns
|
||||
link-to 'employees' class="button"
|
||||
span=t 'models.plural.employee'
|
||||
a.edit-button{ action 'editEmployee' model}= t 'helpers.links.edit'
|
||||
@@ -0,0 +1,3 @@
|
||||
p=body
|
||||
hr
|
||||
button.modal-close{action "close"}= t 'confirm.cancel'
|
||||
@@ -4,7 +4,7 @@ p=t 'employee_shift.modal.body_header'
|
||||
.form-field= model.employee.name
|
||||
.form-row.description
|
||||
.form-label=t 'attributes.employee_shift.description'
|
||||
.form-field
|
||||
.form-field.full
|
||||
= input valueBinding="model.description"
|
||||
= errors model.errors.description
|
||||
hr
|
||||
|
||||
Reference in New Issue
Block a user