All the little details

This commit is contained in:
2015-02-20 23:03:38 +01:00
parent 9eb4f8ee9a
commit 006d840c4e
18 changed files with 87 additions and 28 deletions
@@ -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