mirror of
https://github.com/volatiletech/authboss.git
synced 2026-06-19 23:00:27 +02:00
15 lines
940 B
Smarty
15 lines
940 B
Smarty
<form action="{{mountpathed "register"}}" method="post">
|
|
<label for="{{.primaryID}}">{{title .primaryID}}:</label>
|
|
<input name="{{.primaryID}}" type="text" value="{{with .primaryIDValue}}{{.}}{{end}}" placeholder="{{title .primaryID}}" /><br />
|
|
{{$pid := .primaryID}}{{with .errs}}{{with $errlist := index . $pid}}{{range $errlist}}<span>{{.}}</span><br />{{end}}{{end}}{{end}}
|
|
<label for="password">Password:</label>
|
|
<input name="password" type="password" placeholder="Password" /><br />
|
|
{{with .errs}}{{range .password}}<span>{{.}}</span><br />{{end}}{{end}}
|
|
<label for="confirm_password">Confirm Password:</label>
|
|
<input name="confirm_password" type="password" placeholder="Confirm Password" /><br />
|
|
{{with .errs}}{{range .confirm_password}}<span>{{.}}</span><br />{{end}}{{end}}
|
|
<input type="submit" value="Register"><br />
|
|
<a href="/">Cancel</a>
|
|
|
|
<input type="hidden" name="{{.xsrfName}}" value="{{.xsrfToken}}" />
|
|
</form> |