summaryrefslogtreecommitdiff
path: root/views/change_password.pug
blob: feaa46c9a3f412365fac8bb219b1a9af1e1f4ea8 (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