Skip to content

Commit

Permalink
use help test for proper CSS framework
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Jan 21, 2024
1 parent 5ae3978 commit 89ab19f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion formset/templates/formset/bootstrap/field_group.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{ field }}
{{ field.errors }}
{% with help_text=field.help_text %}
{% if help_text %}<span class="form-text text-muted">{{ help_text }}</span>{% endif %}
{% if help_text %}{% include "./help_text.html" %}{% endif %}
{% endwith %}
{% if control_css_classes %}</div>{% endif %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion formset/templates/formset/default/field_group.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ field }}
{{ field.errors }}
{% with help_text=field.help_text %}
{% if help_text %}<span class="dj-help-text">{{ help_text }}</span>{% endif %}
{% if help_text %}{% include "./help_text.html" %}{% endif %}
{% endwith %}
</div>
{% endspaceless %}

0 comments on commit 89ab19f

Please sign in to comment.