~gitpocket/gitpocket

1
bfa87e353b0b3435f4243841ac16cb42f5c8d360
mainfeed-discovery
gitpocket/templates/register.html -rw-r--r--486 bytes ViewLogBlameView rawPermalink 3e4df176f3 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}}