From 28290f20dee4c3e1929b1e5db4ee75164eeaff67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Sun, 27 Oct 2024 22:53:53 +0100 Subject: [PATCH] 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. --- .../accounts/templates/registration/password_reset_form.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/la_chariotte/accounts/templates/registration/password_reset_form.html b/la_chariotte/accounts/templates/registration/password_reset_form.html index 2e66624..8e380e2 100644 --- a/la_chariotte/accounts/templates/registration/password_reset_form.html +++ b/la_chariotte/accounts/templates/registration/password_reset_form.html @@ -8,7 +8,8 @@

Entrez votre mail pour recevoir les instructions pour le réinitialiser.

- {% crispy form %} + {{ form | crispy }} + {% csrf_token %}