Merge pull request #8188 from colinux/fix-identite-all-fields-required

fix(a11y/identite): indicates that all fields are required
This commit is contained in:
Colin Darie 2022-12-05 12:22:05 +01:00 committed by GitHub
commit 56789bdf1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

@ -4,9 +4,11 @@
- if !dossier_submission_is_closed?(@dossier)
= form_for @dossier.individual, url: update_identite_dossier_path(@dossier), html: { class: "form" } do |f|
%h2.huge-title= t('views.users.dossiers.identite.identity_data')
%h2.fr-h4= t('views.users.dossiers.identite.identity_data')
%p.mb-1= t('views.users.dossiers.identite.complete_data')
%p.fr-text--sm= t('views.users.dossiers.identite.complete_data')
%p.fr-hint-text.fr-mb-3w= t('views.users.dossiers.identite.all_required')
%fieldset
%legend

View file

@ -197,6 +197,7 @@ en:
more_information: More informations
identite:
identity_data: Identity data
all_required: All fields are required.
civility: Civility
first_name: First Name
last_name: Last Name

View file

@ -193,6 +193,7 @@ fr:
more_information: En savoir plus
identite:
identity_data: Données didentité
all_required: Tous les champs sont obligatoires.
civility: Civilité
first_name: Prénom
last_name: Nom