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

			form(method="post" action="/change-password")
				p Name: #{user.name}
				p Mail: #{user.mail}
				p
					label Old Password:
						br
						input(type="password" name="password" required)
				p
					label New Password:
						br
						input(type="password" name="newpass" required)
				p
					button(type="submit") Change password