~gitpocket/gitpocket

1
7093e5fd3c1fa8199453c6347ebfe8bcda76e3ea
mainfeed-discovery
gitpocket/templates/register.html -rw-r--r--486 bytes ViewLogBlameView rawPermalink 7093e5fd3c feat(basin): minimal git host with ssh and smart https 1 months ago
1
2
3
4
5
6
7
8
9
{{define "content"}}
<h1>register</h1>
<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}}