summaryrefslogtreecommitdiff
path: root/tpls/register.tpl
blob: 2fab71461ff752102a985b561fa9ba5cfca679a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{define "title"}}Register{{end}}

{{define "content"}}
	{{if .Success}}
		<div class="success">{{.Success}}</div>
	{{else}}
		{{if .Error}}<div class="error">{{.Error}}</div>{{end}}
		<form action="/register" method="post" accept-charset="UTF-8" class="fancy">
			<p><strong>E-Mail</strong><br /><input type="text" name="Mail" /></p>
			<p><strong>Password</strong><br /><input type="password" name="Password" /></p>
			<p><strong>Retype Password</strong><br /><input type="password" name="RetypePassword" /></p>
			<p>
				<strong>Timezone</strong><br />
				<select size="0" name="Timezone">
					{{range .Timezones}}<option value="{{.}}">{{.}}</option>{{end}}
				</select>
			</p>
			<p><input type="submit" /></p>
		</form>
	{{end}}
{{end}}