~gitpocket/gitpocket

4
93b2f1b96cffdf96694153ee576b154c2513855d
mainfeed-discovery
gitpocket/templates/register.html -rw-r--r--486 bytes ViewLogBlameView rawPermalink d097d434c9 feat(basin): light theme, highlighting and latex 1 months ago
1
2
3
4
5
6
7
8
9
{{define "content"}}
<h2>Register</h2>
<form method="post" action="/register" class="stack">
<label>Name <input name="name" required autofocus autocomplete="username" pattern="[a-z0-9][a-z0-9_.-]{0,38}"></label>
<label>Password <input name="password" type="password" required minlength="8" autocomplete="new-password"></label>
{{if not .Data.Open}}<label>Invite code <input name="invite" required value="{{.Data.Invite}}"></label>{{end}}
<button>Create account</button>
</form>
{{end}}