aboutsummaryrefslogtreecommitdiff
path: root/views/login.html
blob: 7a08c4147f5e7b463a5363b186c4c3a386d973e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "login" }}
<html>
	<head>
		<title>Grilist - Login</title>
	</head>
	<body>
		{{ if .error }}
			<div style="color: red">Es gab einen Fehler: {{ .error }}</div>
		{{ end }}
		<form action="#" method="POST">
			<input name="username" type="text" placeholder="Username" value="{{ .previous_user }}"/><br />
			<input name="password" type="password" placerholder="benis" /><br />
			<button type="submit">Einloggen</button>
		</form>
	</body>
</html>
{{ end }}