blob: 34541e4ad4ccb60b05ce9feefef8999fb43b000e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{{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">
<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>
</form>
{{end}}
{{end}}
|