blob: a80ecc77cf25a83b195fb3c3b895b9d37d789a9e [file] [log] [blame]
{{ define "title" }}Sign in{{ end }}
{{ define "main" }}
<div>
<div class="logo">
<span>do</span><span>do:</span>
</div>
<form action="" method="POST">
<label>
username
<input type="text" name="username" autofocus required />
</label>
<label>
password
<input type="password" name="password" required />
</label>
<input type="hidden" name="csrf_token" value="{{ .csrfToken }}" />
<button class="subbmit-button" type="submit">login</button>
</form>
{{- if .enableRegistration -}}
<nav>
<ul>
<li>
<a href="/register">Create Account</a>
</li>
</ul>
</nav>
</div>
{{- end -}}
{{ end }}