diff --git a/app/views/decidim/devise/registrations/new.html.erb b/app/views/decidim/devise/registrations/new.html.erb index 8480677..96cede3 100644 --- a/app/views/decidim/devise/registrations/new.html.erb +++ b/app/views/decidim/devise/registrations/new.html.erb @@ -59,7 +59,7 @@
-

Informations personnelles

+

<%= t(".personal_data_step") %>

<%= f.date_select :birth_date, { label: t(".birth_date"), start_year: Date.today.year - 100, end_year: Date.today.year }, { class: "columns medium-3" } %> diff --git a/config/locales/en.yml b/config/locales/en.yml index f5009c6..6d77d93 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -61,6 +61,7 @@ en: postal_code: Postal code help_message: Please fill the postal code field to be able to select your city birth_date_help: You must be over 16 years old to access this service. + personal_data_step: Personal data form: errors: messages: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 45a2b14..5bf4099 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -62,6 +62,7 @@ fr: news_cese: Souhaitez-vous recevoir les actualités du CESE ? help_message: Veuillez renseigner votre code postal pour choisir la ville postal_code: Code postal + personal_data_step: Informations personnelles form: errors: messages: