summaryrefslogtreecommitdiffstats
path: root/templates/auth
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-15 16:23:54 -0700
committerAndrew Godwin2022-12-15 16:24:06 -0700
commitbce7add2b4c9e8e0182db1ff6b2dadec2c14ca50 (patch)
treee41f158e59c15cbd312655f8d00f56d3935419a6 /templates/auth
parent1a7ffb4bff69aa32dc898c650215cba405031202 (diff)
downloadtakahe-bce7add2b4c9e8e0182db1ff6b2dadec2c14ca50.tar.gz
takahe-bce7add2b4c9e8e0182db1ff6b2dadec2c14ca50.tar.bz2
takahe-bce7add2b4c9e8e0182db1ff6b2dadec2c14ca50.zip
Fix login form errors not appearing
Fixes #175
Diffstat (limited to 'templates/auth')
-rw-r--r--templates/auth/login.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/auth/login.html b/templates/auth/login.html
index 96c0e98..a0588a9 100644
--- a/templates/auth/login.html
+++ b/templates/auth/login.html
@@ -2,11 +2,14 @@
{% block title %}Login{% endblock %}
+{% block body_class %}no-sidebar{% endblock %}
+
{% block content %}
<form action="." method="POST">
{% csrf_token %}
<fieldset>
<legend>Login</legend>
+ {{ form.non_field_errors }}
{% for field in form %}
{% include "forms/_field.html" %}
{% endfor %}