widgets: put field help texts in <p> (#84751)

This commit is contained in:
Nicolas Roche 2023-12-14 15:54:26 +01:00 committed by Frédéric Péters
parent 0cb151e692
commit 437b015121
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
{% block widget-attrs %}{% endblock %}>
{% block widget-hint %}
{% if field.help_text %}
<div class="hint" id="help_text_{{field.id_for_label}}">{{ field.help_text|safe }}</div>
<div class="hint" id="help_text_{{field.id_for_label}}"><p>{{ field.help_text|safe }}</p></div>
{% endif %}
{% endblock %}
{% block widget-control %}