From 7e04ac7686553c68915d18a96aa3d6f1d5286d56 Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Sat, 14 Oct 2023 11:48:43 +0200 Subject: [PATCH] Fixed error messages not showing in formulars This is a known unresolved issue in Bootstrap 4 See: https://github.com/twbs/bootstrap/issues/23454 --- pytition/petition/templates/petition/bs4_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytition/petition/templates/petition/bs4_form.html b/pytition/petition/templates/petition/bs4_form.html index 6c377cf0..1732ad05 100644 --- a/pytition/petition/templates/petition/bs4_form.html +++ b/pytition/petition/templates/petition/bs4_form.html @@ -23,7 +23,7 @@ {% render_field field|bootstrap class="is-invalid" %} {% for error in field.errors %} -
+
{{ error }}
{% endfor %}