From c8cd92d9d86a3af8c5ba8495600bf4c84ed9c5db Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 26 Jul 2018 15:08:29 +0200 Subject: [PATCH] replace class=help_text by class=helptext to match code generated by authentic (#25494) --- static/grandlyon-cut/_custom.scss | 2 +- templates/authentic2/cut-edit-core.html | 12 +++--- templates/authentic2/cut-edit-crown.html | 26 ++++++------ .../registration_completion_form.html | 42 +++++++++---------- 4 files changed, 41 insertions(+), 41 deletions(-) diff --git a/static/grandlyon-cut/_custom.scss b/static/grandlyon-cut/_custom.scss index cc5c6d1..9a61cc6 100644 --- a/static/grandlyon-cut/_custom.scss +++ b/static/grandlyon-cut/_custom.scss @@ -918,7 +918,7 @@ div.password-reset-form, div#registration_complete { } } -span.help_text { +span.helptext { font-size: 0.8em; } diff --git a/templates/authentic2/cut-edit-core.html b/templates/authentic2/cut-edit-core.html index a9393d9..30a9ea5 100644 --- a/templates/authentic2/cut-edit-core.html +++ b/templates/authentic2/cut-edit-core.html @@ -3,12 +3,12 @@ {% block cut-edit-title %}Modifier mes données d'identité{% endblock %} {% block form %}
-
{{ form.title.errors }}{{ form.title.label_tag }} {{ form.title }}{{ form.title.help_text }}
-
{{ 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.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.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 }}
+
{{ 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.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.birthcountry.errors }}{{ form.birthcountry.label_tag }} {{ form.birthcountry }}{{ form.birthcountry.help_text }}
{% endblock %} diff --git a/templates/authentic2/cut-edit-crown.html b/templates/authentic2/cut-edit-crown.html index 50d7898..2945693 100644 --- a/templates/authentic2/cut-edit-crown.html +++ b/templates/authentic2/cut-edit-crown.html @@ -4,25 +4,25 @@ {% block form %}

Identité

-
{{ 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.birthdepartment.errors }}{{ form.birthdepartment.label_tag }} {{ form.birthdepartment }} {{ form.birthdepartment.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.birthdepartment.errors }}{{ form.birthdepartment.label_tag }} {{ form.birthdepartment }} {{ form.birthdepartment.help_text }}

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 }}
+
{{ 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 }}

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 }}
+
{{ 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 }}
{% endblock %} diff --git a/templates/registration/registration_completion_form.html b/templates/registration/registration_completion_form.html index c6bef90..f760d8a 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|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 }}
+
{{ 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|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 }}
+
{{ 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|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 }}
+
{{ 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|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 }}
+
{{ 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 }}