Archived
1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
SOD/views/admin/departments/edit.pug

22 lines
910 B
Text
Raw Normal View History

2020-08-20 13:34:50 +02:00
extends ../../layout
block content
2020-09-29 14:44:59 +02:00
div.container
2020-08-20 13:34:50 +02:00
h1=__("admin.edit")+" "+department.name
2020-09-29 14:44:59 +02:00
div.row
form(action="/admin/departments/edit" method="POST")
input.hide(type="text" name="name" value=department.name required)
div.row
div.input-field.col.s12
input#name(type="text" name="newName" value=department.name required)
label(for="name")=__("admin.name")+":"
div.row
div.input-field.col.s12
p
label(for="enable")
input#enable(type="checkbox" name="enable" checked=department.enable)
span=__("admin.enable")
2020-09-29 14:44:59 +02:00
div.row.center
div.input-field.col.s12
+submit(__("save"))