fix login form
This commit is contained in:
parent
7fb593c98a
commit
e0684ac2e3
@ -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 %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user