2015-02-26 09:05:14 +02:00
|
|
|
<form action="{{mountpathed "recover"}}" method="POST">
|
2015-02-24 01:51:42 +02:00
|
|
|
<input type="text" name="{{.primaryID}}" placeholder="{{title .primaryID}}" value="{{.primaryIDValue}}" /><br />
|
|
|
|
{{$pid := .primaryID}}{{with .errs}}{{with $errlist := index . $pid}}{{range $errlist}}<span>{{.}}</span><br />{{end}}{{end}}{{end}}
|
|
|
|
<input type="text" name="confirm_{{.primaryID}}" placeholder="Confirm {{title .primaryID}}" value="{{.confirmPrimaryIDValue}}" /><br />
|
|
|
|
{{$cpid := .primaryID | printf "confirm_%s"}}{{with .errs}}{{with $errlist := index . $cpid}}{{range $errlist}}<span>{{.}}</span><br />{{end}}{{end}}{{end}}
|
|
|
|
<input type="hidden" name="{{.xsrfName}}" value="{{.xsrfToken}}" />
|
|
|
|
<button type="submit">Recover</button><br />
|
2015-02-21 21:07:32 +02:00
|
|
|
<a href="/login">Cancel</a>
|
2015-02-24 01:51:42 +02:00
|
|
|
</form>
|