From 07619982279cc14fea78ae7e4567703aec11577a Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 26 Jul 2018 14:33:40 +0200 Subject: [PATCH] templates: mark help_text as safe in registration form (fixes #25494) --- .../registration_completion_form.html | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/templates/registration/registration_completion_form.html b/templates/registration/registration_completion_form.html index b7fe90b..c6bef90 100644 --- a/templates/registration/registration_completion_form.html +++ b/templates/registration/registration_completion_form.html @@ -16,10 +16,10 @@

Votre courriel {{ email }} a été validé.
Veuillez renseigner les informations suivantes.

-
{{ form.first_name.errors }}{{ form.first_name.label_tag }} {{ form.first_name }} {{ form.first_name.help_text }}
-
{{ form.last_name.errors }}{{ form.last_name.label_tag }} {{ form.last_name }} {{ form.last_name.help_text }}
-
{{ form.password1.errors }}{{ form.password1.label_tag }}{{ form.password1 }} {{ form.password1.help_text }}
-
{{ form.password2.errors }}{{ form.password2.label_tag }} {{ form.password2 }} {{ form.password2.help_text }}
+
{{ form.first_name.errors }}{{ form.first_name.label_tag }} {{ form.first_name }} {{ form.first_name.help_text|safe }}
+
{{ form.last_name.errors }}{{ form.last_name.label_tag }} {{ form.last_name }} {{ form.last_name.help_text|safe }}
+
{{ form.password1.errors }}{{ form.password1.label_tag }}{{ form.password1 }} {{ form.password1.help_text|safe }}
+
{{ form.password2.errors }}{{ form.password2.label_tag }} {{ form.password2 }} {{ form.password2.help_text|safe }}

@@ -45,29 +45,29 @@

Données d’Identité

-
{{ form.title.errors }}{{ form.title.label_tag }} {{ form.title }} {{ form.title.help_text }}
-
{{ form.preferred_givenname.errors }}{{ form.preferred_givenname.label_tag }} {{ form.preferred_givenname }} {{ form.preferred_givenname.help_text }}
-
{{ form.preferred_username.errors }}{{ form.preferred_username.label_tag }} {{ form.preferred_username }} {{ form.preferred_username.help_text }}
-
{{ form.birthdate.errors }}{{ form.birthdate.label_tag }} {{ form.birthdate }} {{ form.birthdate.help_text }}
-
{{ form.birthplace.errors }}{{ form.birthplace.label_tag }} {{ form.birthplace }} {{ form.birthplace.help_text }}
-
{{ form.birthdepartment.errors }}{{ form.birthdepartment.label_tag }} {{ form.birthdepartment }} {{ form.birthdepartment.help_text }}
-
{{ form.birthcountry.errors }}{{ form.birthcountry.label_tag }} {{ form.birthcountry }} {{ form.birthcountry.help_text }}
+
{{ form.title.errors }}{{ form.title.label_tag }} {{ form.title }} {{ form.title.help_text|safe }}
+
{{ form.preferred_givenname.errors }}{{ form.preferred_givenname.label_tag }} {{ form.preferred_givenname }} {{ form.preferred_givenname.help_text|safe }}
+
{{ form.preferred_username.errors }}{{ form.preferred_username.label_tag }} {{ form.preferred_username }} {{ form.preferred_username.help_text|safe }}
+
{{ form.birthdate.errors }}{{ form.birthdate.label_tag }} {{ form.birthdate }} {{ form.birthdate.help_text|safe }}
+
{{ form.birthplace.errors }}{{ form.birthplace.label_tag }} {{ form.birthplace }} {{ form.birthplace.help_text|safe }}
+
{{ form.birthdepartment.errors }}{{ form.birthdepartment.label_tag }} {{ form.birthdepartment }} {{ form.birthdepartment.help_text|safe }}
+
{{ form.birthcountry.errors }}{{ form.birthcountry.label_tag }} {{ form.birthcountry }} {{ form.birthcountry.help_text|safe }}

Adresse

-
{{ form.address_number.errors }}{{ form.address_number.label_tag }} {{ form.address_number }} {{ form.address_number.help_text }}
-
{{ form.address_street.errors }}{{ form.address_street.label_tag }} {{ form.address_street }} {{ form.address_street.help_text }}
-
{{ form.address_complement.errors }}{{ form.address_complement.label_tag }} {{ form.address_complement }} {{ form.address_complement.help_text }}
-
{{ form.address_zipcode.errors }}{{ form.address_zipcode.label_tag }} {{ form.address_zipcode }} {{ form.address_zipcode.help_text }}
-
{{ form.address_city.errors }}{{ form.address_city.label_tag }} {{ form.address_city }} {{ form.address_city.help_text }}
-
{{ form.address_country.errors }}{{ form.address_country.label_tag }} {{ form.address_country }} {{ form.address_country.help_text }}
+
{{ form.address_number.errors }}{{ form.address_number.label_tag }} {{ form.address_number }} {{ form.address_number.help_text|safe }}
+
{{ form.address_street.errors }}{{ form.address_street.label_tag }} {{ form.address_street }} {{ form.address_street.help_text|safe }}
+
{{ form.address_complement.errors }}{{ form.address_complement.label_tag }} {{ form.address_complement }} {{ form.address_complement.help_text|safe }}
+
{{ form.address_zipcode.errors }}{{ form.address_zipcode.label_tag }} {{ form.address_zipcode }} {{ form.address_zipcode.help_text|safe }}
+
{{ form.address_city.errors }}{{ form.address_city.label_tag }} {{ form.address_city }} {{ form.address_city.help_text|safe }}
+
{{ form.address_country.errors }}{{ form.address_country.label_tag }} {{ form.address_country }} {{ form.address_country.help_text|safe }}

Coordonnées

-
{{ form.home_mobile_phone.errors }}{{ form.home_mobile_phone.label_tag }} {{ form.home_mobile_phone }} {{ form.home_mobile_phone.help_text }}
-
{{ form.home_phone.errors }}{{ form.home_phone.label_tag }} {{ form.home_phone }} {{ form.home_phone.help_text }}
-
{{ form.professional_mobile_phone.errors }}{{ form.professional_mobile_phone.label_tag }} {{ form.professional_mobile_phone }}{{ form.professional_mobile_phone.help_text }}
-
{{ form.professional_phone.errors }}{{ form.professional_phone.label_tag }} {{ form.professional_phone }} {{ form.professional_phone.help_text }}
+
{{ form.home_mobile_phone.errors }}{{ form.home_mobile_phone.label_tag }} {{ form.home_mobile_phone }} {{ form.home_mobile_phone.help_text|safe }}
+
{{ form.home_phone.errors }}{{ form.home_phone.label_tag }} {{ form.home_phone }} {{ form.home_phone.help_text|safe }}
+
{{ form.professional_mobile_phone.errors }}{{ form.professional_mobile_phone.label_tag }} {{ form.professional_mobile_phone }}{{ form.professional_mobile_phone.help_text|safe }}
+
{{ form.professional_phone.errors }}{{ form.professional_phone.label_tag }} {{ form.professional_phone }} {{ form.professional_phone.help_text|safe }}