summaryrefslogtreecommitdiff
path: root/views/change_name.pug
blob: 03763acd0e4b99bd00a2c2b6ccbfcceddd6a594b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//- vim:ts=4:sw=4:
doctype html
html
	head
		include head
		title Change name
	body
		include header
		article
			h1 Change name
			if flash
				p.error= flash

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