~gitpocket/gitpocket

4
266053a6e7bb9c2b05622beea635d12c2088a60d
mainfeed-discovery
gitpocket/templates/register.html -rw-r--r--486 bytes ViewLogBlameView rawPermalink 266053a6e7 feat(basin): light theme, highlighting, latex, avatar crop, rate limits 4 days 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}}