summaryrefslogtreecommitdiff
path: root/views/signup.pug
blob: b0cf90171417ede4cd6234e4d7d7811df8a15516 (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
//- 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
						label Name:
							br
							input(type="text" name="username" required)
					p
						label Mail:
							br
							input(type="email" name="mail" required)
					p
						label Password:
							br
							input(type="password" name="password" required)
					p
						button(type="submit") Create account