diff --git a/dsfr/templates/dsfr/form_field_snippets/input_snippet.html b/dsfr/templates/dsfr/form_field_snippets/input_snippet.html index 8dbdbc656..e8746d691 100644 --- a/dsfr/templates/dsfr/form_field_snippets/input_snippet.html +++ b/dsfr/templates/dsfr/form_field_snippets/input_snippet.html @@ -2,10 +2,12 @@ {# Generic input snippet used by most of the field types #}
{% if field.errors %} {% with aria_describedby="aria-describedby:"|add:field.auto_id|add:"-desc-error" %} @@ -19,4 +21,4 @@ {{ field.errors }}
{% endif %} - \ No newline at end of file + diff --git a/example_app/forms.py b/example_app/forms.py index f5dd9fdf0..917a3af2d 100644 --- a/example_app/forms.py +++ b/example_app/forms.py @@ -49,7 +49,7 @@ class ExampleForm(DsfrBaseForm): user_email = forms.EmailField( label="Adresse électronique", - help_text="Format attendu : prenom.nom@domaine.fr", + help_text="Format attendu : prenom.nom@domaine.fr", required=False, ) diff --git a/pyproject.toml b/pyproject.toml index 0de0373db..2828f653b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ authors = ["Sylvain Boissel "] description = "Integrate the French government Design System into a Django app" license = "MIT" name = "django-dsfr" -version = "1.4.1" +version = "1.4.2" classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment",