diff --git a/lemarche/templates/django/forms/widgets/checkbox_option.html b/lemarche/templates/django/forms/widgets/checkbox_option.html index 767b160fb..468c3d32c 100644 --- a/lemarche/templates/django/forms/widgets/checkbox_option.html +++ b/lemarche/templates/django/forms/widgets/checkbox_option.html @@ -1,8 +1,25 @@ -{% if widget.wrap_label %} - - {% endif %} - {% include "django/forms/widgets/input.html" %} +{% if widget.attrs.dsfr == "dsfr" %} + + {% include "django/forms/widgets/input.html" %} + {% if widget.wrap_label %} + + {% if widget.label.label %} + {{ widget.label.label }} + {{ widget.label.help_text }} + {% else %} + {{ widget.label }} + {% endif %} + + {% endif %} + +{% else %} {% if widget.wrap_label %} - {{ widget.label }} - + + {% endif %} + {% include "django/forms/widgets/input.html" %} + {% if widget.wrap_label %} + {{ widget.label }} + + {% endif %} {% endif %}