blob: 1ed3d403c9f2f0f48c56d9554caafdd8ac683ba0 [file] [log] [blame]
{{ define "title" }}Sign in{{ end }}
{{ define "main" }}
<form action="" method="POST">
<input type="text" name="username" placeholder="Username" autofocus required />
<input type="password" name="password" placeholder="Password" required />
<input type="hidden" name="csrf_token" value="{{ .csrfToken }}" />
<button type="submit">Sign In</button>
</form>
{{- if .enableRegistration -}}
<nav>
<ul>
<li>
<a href="/register">Create Account</a>
</li>
</ul>
</nav>
{{- end -}}
{{ end }}