blob: 0d961b51965d37c97acb7ef90d2cd6504158b9b2 [file] [log] [blame]
giodd213152024-09-27 11:26:59 +02001{{ define "title" }}dodo: sign in{{ end }}
Giorgi Lekveishvili58cb1482023-12-04 12:33:49 +04002{{ define "main" }}
Davit Tabidzec6c663f2024-07-12 17:35:40 +04003<div>
4 <div class="logo">
5 <span>do</span><span>do:</span>
6 </div>
7 <form action="" method="POST">
8 <label>
9 username
10 <input type="text" name="username" autofocus required />
11 </label>
12 <label>
13 password
14 <input type="password" name="password" required />
15 </label>
16 <input type="hidden" name="csrf_token" value="{{ .csrfToken }}" />
17 <button class="subbmit-button" type="submit">login</button>
18 </form>
19 {{- if .enableRegistration -}}
20 <nav>
21 <ul>
22 <li>
23 <a href="/register">Create Account</a>
24 </li>
25 </ul>
26 </nav>
27</div>
Giorgi Lekveishvilid76414e2023-12-21 13:30:23 +040028{{- end -}}
Giorgi Lekveishvili58cb1482023-12-04 12:33:49 +040029{{ end }}