33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
p= t 'section_area.modal.explanation'
|
|
.form-row.title
|
|
.form-label=t 'attributes.section_area.title'
|
|
.form-field= input value=model.title
|
|
.form-info
|
|
= errors model.errors.title
|
|
.form-row.width
|
|
.form-label=t 'attributes.section_area.width'
|
|
.form-field= input type="number" value=model.width
|
|
.form-info
|
|
span.dimension m
|
|
= errors model.errors.width
|
|
.form-row.height
|
|
.form-label=t 'attributes.section_area.height'
|
|
.form-field= input type="number" value=model.height
|
|
.form-info
|
|
span.dimension m
|
|
= errors model.errors.height
|
|
.form-row.rounded
|
|
.form-label= t 'attributes.section_area.rounded'
|
|
.form-field= boolean-switch value=model.rounded
|
|
.form-row.color
|
|
.form-label= t 'attributes.employee.color'
|
|
.form-field.full
|
|
span.current-color= colorbox model.color
|
|
each colors as |color|
|
|
a{action "setColor" color}= colorbox color
|
|
hr
|
|
button.modal-close{action "close"}=t 'section_area.modal.close_button'
|
|
button.modal-confirm.right{action "save"} disabled=model.isInvalid
|
|
=t 'section_area.modal.save_button'
|
|
button.modal-destroy.right{action "destroyRecord"}= t 'section_area.modal.destroy_button'
|