Download this file
| 1 | {{define "title"}}{{say "signin.title"}}{{end}} |
| 2 | {{define "content"}} |
| 3 | <div class="receipt"> |
| 4 | <p class="receipt__mark">{{say "signin.title"}}</p> |
| 5 | {{if .Sent}} |
| 6 | {{/* Shown whether or not the address is on the allowlist. Saying "that |
| 7 | address cannot sign in" would make this page a way to enumerate the |
| 8 | admins. */}} |
| 9 | <p>{{say "signin.sent"}}</p> |
| 10 | {{else}} |
| 11 | <form class="slip" method="post" action="/signin"> |
| 12 | <label class="field" for="address"> |
| 13 | <span>{{say "form.email"}}</span> |
| 14 | <input type="email" id="address" name="address" required autocomplete="email"> |
| 15 | </label> |
| 16 | <button type="submit" class="stamp">{{say "signin.submit"}}</button> |
| 17 | </form> |
| 18 | {{end}} |
| 19 | </div> |
| 20 | {{end}} |
| 21 | |