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

			form(method="post" action="/delete-account")
				p Name: #{user.name}
				p Mail: #{user.mail}
				p
					label Password:
						br
						input(type="password" name="password" required)
				p
					label Type DELETE to confirm:
						br
						input(type="text" name="confirm" pattern="^DELETE$" required)
				p.warning WARNING: Deleting your account is permanent!
				p All your games and messages will be lost forever.
				p
					button(type="submit") Delete!