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

{{define "content"}}
	{{if .Error}}
		<div class="error">{{.Error}}</div>
	{{end}}
	
	{{if .Success}}
		<div class="success">{{.Success}}</div>
	{{else}}
		<form action="/login" method="post" accept-charset="UTF-8" class="fancy">
			<p><strong>E-Mail</strong> <input type="text" name="Mail" /></p>
			<p><strong>Password</strong> <input type="password" name="Password" /></p>
			<p><input type="submit" /></p>
			<p><a href="/forgotpw">Forgot your password?</a></p>
		</form>
	{{end}}
{{end}}