login.html
| 1 | {{define "login"}} |
| 2 | <div class="login-page"> |
| 3 | <h2>Sign in</h2> |
| 4 | <form method="post" action="/login"> |
| 5 | <label for="username">Username</label> |
| 6 | <input type="text" id="username" name="username" autocomplete="username" required autofocus> |
| 7 | |
| 8 | <label for="password">Password</label> |
| 9 | <input type="password" id="password" name="password" autocomplete="current-password" required> |
| 10 | |
| 11 | <button type="submit">Sign in</button> |
| 12 | </form> |
| 13 | </div> |
| 14 | {{end}} |
| 15 |