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/register.pug

30 lines
1.1 KiB
Text
Raw Normal View History

extends layout
block content
form.card(action="/register" method="POST")
2020-08-18 17:00:07 +02:00
h1=__("register.title")
div.field
2020-08-18 17:00:07 +02:00
label(for="username")=__("username")+":"
input#username(type="text" name="username" required)
div.field
2020-08-18 17:08:29 +02:00
label(for="email")=__("email")+":"
input#email(type="email" name="email" required)
div.field
2020-08-18 17:00:07 +02:00
label(for="firstName")=__("firstName")+":"
input#firstName(type="text" name="firstName" required)
div.field
2020-08-18 17:00:07 +02:00
label(for="lastName")=__("lastName")+":"
input#lastName(type="text" name="lastName" required)
div.field
2020-08-18 17:00:07 +02:00
label(for="department")=__("department")+":"
2020-08-17 17:58:55 +02:00
input#department(type="list" list="department-list" name="department" required)
div.field
2020-08-18 17:00:07 +02:00
label(for="password")=__("password")+":"
input#password(type="password" name="password" required)
div.field
2020-08-18 17:00:07 +02:00
input(type="submit" value=__("register.submit"))
datalist#department-list
each department in departments
option(value=department.name)