Ajout de l'affichage des erreurs du filtre

This commit is contained in:
Jean-Marie Favreau 2024-11-14 19:36:17 +01:00
parent bb6d83f6fb
commit 1f60bf0c39

View File

@ -13,6 +13,7 @@
<div class="filtres">
<details {% if filter.is_active %}class="active"{% endif %} {% if filter.form and filter.form.errors %}open=""{% endif %}>
{{ filter.form.non_field_errors }}
<summary role="button" class="outline secondary">
{% if filter.is_active %}
<strong>Filtres&nbsp;: </strong>