carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1{{define "check"}}{{template "top" .}}
2<h1>{{.SigninCopy.CheckTitle}}</h1>
3<p>{{.CheckSent}}</p>
4<form class="signin" method="post" action="/auth/email/code">
5 <input type="hidden" name="address" value="{{.Prefill}}">
6 {{if .Next}}<input type="hidden" name="next" value="{{.Next}}">{{end}}
7 <label for="code">{{.SigninCopy.CodeLabel}}</label>
8 <input id="code" type="text" name="code" inputmode="numeric" autocomplete="one-time-code" required autofocus>
9 <button type="submit">{{.SigninCopy.CodeButton}}</button>
10</form>
11{{if .CodeError}}<p class="error">{{.CodeError}}</p>{{end}}
12<p class="small">{{.SigninCopy.Nothing}}</p>
13<form class="signin" method="post" action="/auth/continue">
14 <input type="hidden" name="address" value="{{.Prefill}}">
15 {{if .Next}}<input type="hidden" name="next" value="{{.Next}}">{{end}}
16 <button type="submit">{{.SigninCopy.AgainButton}}</button>
17</form>
18{{template "bottom" .}}{{end}}
19