summaryrefslogtreecommitdiff
path: root/views/account_mail_verify.pug
blob: fddf2fa189f5c728a8fb3e9449c4de5eda0543b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//- 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 <code>#{user.mail}</code>

			p If the above address is wrong, you can <a href="/account/change-mail">change it</a>!

			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