//- vim:ts=4:sw=4:
doctype html
html
head
include head
title Verify mail
body
include header
article
h1 Verify mail
if flash
p.error= flash
p Your mail address is #{user.mail}
p If the above address is wrong, you can change it!
if sent_token
p Your token is in the mail!
else
form(method="post" action="/account/mail/verify-send")
p
button(type="submit") Send token
form(method="post")
p
label Enter your mail verification token here:
br
input(type="text" name="token" size=32 value=token style="font-family:monospace" required)
p
button(type="submit") Verify