move to crispy_forms

This commit is contained in:
Pierre-antoine Comby 2019-08-11 17:52:53 +02:00
parent 13d67c26bf
commit f6464c2a14
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
<h2>Login</h2> <h2>Login</h2>
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form | crispy }}
<button type="submit">Login</button> <button type="submit">Login</button>
</form> </form>
{% endblock %} {% endblock %}