Skip to content

Commit

Permalink
Support for HTML forms in all field types
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow committed Nov 13, 2024
1 parent f9ef2fa commit 34b4e3c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<label for="{{ field.id_for_label }}" class="fr-label">
{{ field.label_tag }}
{% if field.help_text %}
<span class="fr-hint-text">{{ field.help_text }}</span>
<span class="fr-hint-text">{{ field.help_text|safe }}</span>
{% endif %}
</label>
{% if field.errors %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
{% endif %}
{% if field.help_text %}
<span class="fr-hint-text">{{ field.help_text }}</span>
<span class="fr-hint-text">{{ field.help_text|safe }}</span>
{% endif %}
</legend>
<div class="fr-fieldset__content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
{% endif %}
{% if field.help_text %}
<span class="fr-hint-text">{{ field.help_text }}</span>
<span class="fr-hint-text">{{ field.help_text|safe }}</span>
{% endif %}
</legend>
<div class="fr-fieldset__content">
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["Sylvain Boissel <[email protected]>"]
description = "Integrate the French government Design System into a Django app"
license = "MIT"
name = "django-dsfr"
version = "1.4.2"
version = "1.4.3"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
Expand Down

0 comments on commit 34b4e3c

Please sign in to comment.