reprogl
1<!DOCTYPE html>
2<html lang="ru">
3<head>
4<meta charset="utf-8">
5<title>{{.BrowserTitle}}</title>
6{{- with .MetaParts -}}{{- range . }}
7<meta name="{{.Name}}" content="{{.Content}}">
8{{- end }}{{- end }}
9<meta name="viewport" content="width=device-width, initial-scale=1.0">
10{{asset "assets/css/login.css"}}
11</head>
12<body>
13<div class="login-page">
14<div class="form">
15<form class="login-form" enctype="application/x-www-form-urlencoded" method="POST">
16{{if .HasError}}
17<span class="error">{{.ErrorMessage}}</span>
18{{end}}
19<input type="hidden"
20name="_csrf_token"
21value="{{.CsrfToken}}">
22<input type="text"
23name="username"
24required
25placeholder="username"/>
26<input type="password"
27name="password"
28required
29placeholder="password"/>
30<button type="submit">login</button>
31</form>
32</div>
33</div>
34</body>
35</html>
36