diff options
Diffstat (limited to 'templates/login.html')
| -rw-r--r-- | templates/login.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..f0eaa6a --- /dev/null +++ b/templates/login.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% block content %} +<h1>Sign in</h1> +{% if error != "" %}<div class="flash err">{{ error }}</div>{% endif %} +<form method="post" action="/login"> +<input type="hidden" name="csrf" value="{{ page.csrf }}"> +<p><label>Password <input type="password" name="password" autofocus></label></p> +<button type="submit">Sign in</button> +</form> +{% endblock %} |
