Files
authboss/internal/response/templates/login.html.tpl
T

10 lines
639 B
Smarty

{{.flash_success}}
<form action="{{mountpathed "login"}}" method="POST">
{{if .error}}{{.error}}<br />{{end}}
<input type="text" class="form-control" name="{{.primaryID}}" placeholder="{{title .primaryID}}" value="{{.primaryIDValue}}"><br />
<input type="password" class="form-control" name="password" placeholder="Password"><br />
<input type="hidden" name="{{.xsrfName}}" value="{{.xsrfToken}}" />
{{if .showRemember}}<input type="checkbox" name="rm" value="true"> Remember Me{{end}}
<button type="submit">Login</button><br />
{{if .showRecover}}<a href="/recover">Recover Account</a>{{end}}
</form>