summaryrefslogtreecommitdiff
path: root/views/reset_password.pug
blob: 1aa0a29a3d3f2750551498bc9f18db6278f78cab (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
//- vim:ts=4:sw=4:
doctype html
html
	head
		include head
		title Reset password
	body
		include header
		article
			h1 Reset password
			if flash
				p.error= flash

			p You should have received a password reset token in your mail.

			form(method="post" action="/reset-password")
				p
					label Mail:
						br
						input(type="email" name="mail" size=32 value=mail required)
				p
					label New Password:
						br
						input(type="password" name="password" size=32 required)
				p
					label Token:
						br
						input(type="text" name="token" size=32 value=token style="font-family:monospace" required)
				p
					button(type="submit") Reset password