Fix the password reset form

Django crispy is bow using a filter rather than a tag.

Using the `crispy` tag resulted in two imbricated forms being
generated, and a broken "send" button.
This commit is contained in:
Alexis Métaireau 2024-10-27 22:53:53 +01:00
parent 44a2c20f95
commit 28290f20de
No known key found for this signature in database
GPG key ID: 1C21B876828E5FF2

View file

@ -8,7 +8,8 @@
<div class="box">
<form method="POST">
<p>Entrez votre mail pour recevoir les instructions pour le réinitialiser.</p>
{% crispy form %}
{{ form | crispy }}
{% csrf_token %}
<div class="buttons">
<input class="button is-primary" type="submit" value="Envoyer">
</div>