summaryrefslogtreecommitdiff
path: root/views/signup.pug
blob: 70de257a60d2132c4b0a62d3b3bef68037dd2105 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//- vim:ts=4:sw=4:
doctype html
html
	head
		include head
		title Signup
	body
		include header
		article
			h1 Signup
			if flash
				p.error= flash

			if user
				p You're already logged in!
			else
				form(method="post" action="/signup")
					p You need to sign up for a free account to play games on #{SITE_NAME_P}
					p
						label Name:
							br
							input(type="text" name="username" required)
							br
							i How you will be known to other players.
							br
							i You can change your user name at any time.
					p
						label Mail:
							br
							input(type="email" name="mail" required)
							br
							i Your mail address is only used for turn notifications and password recovery.
							br
							i It will not be visible to other players.
					p
						label Password:
							br
							input(type="password" name="password" required)
					div
						label
							input(type="checkbox" name="notify" value="true")
							| Enable mail notifications
						div(style="margin-left:2rem")
							i (when it is your turn, your games are ready to start, etc.)
					p
						button(type="submit") Create account