From 89ab19f591c237424148f3ea8c6dfeda1b445304 Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Sun, 21 Jan 2024 23:04:02 +0100 Subject: [PATCH] use help test for proper CSS framework --- formset/templates/formset/bootstrap/field_group.html | 2 +- formset/templates/formset/default/field_group.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/formset/templates/formset/bootstrap/field_group.html b/formset/templates/formset/bootstrap/field_group.html index 4c1508fb..24e379d2 100644 --- a/formset/templates/formset/bootstrap/field_group.html +++ b/formset/templates/formset/bootstrap/field_group.html @@ -5,7 +5,7 @@ {{ field }} {{ field.errors }} {% with help_text=field.help_text %} - {% if help_text %}{{ help_text }}{% endif %} + {% if help_text %}{% include "./help_text.html" %}{% endif %} {% endwith %} {% if control_css_classes %}{% endif %} diff --git a/formset/templates/formset/default/field_group.html b/formset/templates/formset/default/field_group.html index 3578311c..a3903bc5 100644 --- a/formset/templates/formset/default/field_group.html +++ b/formset/templates/formset/default/field_group.html @@ -4,7 +4,7 @@ {{ field }} {{ field.errors }} {% with help_text=field.help_text %} - {% if help_text %}{{ help_text }}{% endif %} + {% if help_text %}{% include "./help_text.html" %}{% endif %} {% endwith %} {% endspaceless %} \ No newline at end of file