//- vim:ts=4:sw=4:
doctype html
html
head
include head
title Signup
body
include header
article
h1 Signup
if flash
p.error= flash
if user
p You're already logged in!
else
form(method="post" action="/signup")
p
label Name:
br
input(type="text" name="username" required)
p
label Mail:
br
input(type="email" name="mail" required)
p
label Password:
br
input(type="password" name="password" required)
div
label
input(type="checkbox" name="notify" value="true")
| Enable mail notifications
div(style="margin-left:2rem")
i (when it is your turn, your games are ready to start, etc.)
p
button(type="submit") Create account