fix login form

This commit is contained in:
rmanach 2023-09-19 12:11:06 +02:00
parent 7fb593c98a
commit e0684ac2e3

View File

@ -7,7 +7,8 @@
<h2>log in</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
{{ form.username.label_tag }} {{ form.username }}
{{ form.password.label_tag }} {{ form.password }}
<button type="submit">log in</button>
</form>
{% else %}