Ajoute a l'information de connexion France Connect dans les informations du dossier ainsi que sur la demande usager
This commit is contained in:
parent
4b2e3b5be7
commit
c033ef0910
7 changed files with 10 additions and 9 deletions
|
@ -5,8 +5,8 @@
|
|||
|
||||
.tab-title Identité du demandeur
|
||||
.card
|
||||
- if dossier.user.france_connect_information.present?
|
||||
= render partial: "shared/dossiers/france_connect_informations", locals: { individual: dossier.individual }
|
||||
- if dossier.france_connect_information.present?
|
||||
= render partial: "shared/dossiers/france_connect_informations", locals: { user_information: dossier.france_connect_information }
|
||||
= render partial: "shared/dossiers/user_infos", locals: { user: dossier.user }
|
||||
|
||||
- if dossier.etablissement.present?
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
Votre dossier est enregistré automatiquement après chaque modification. Vous pouvez à tout moment fermer la fenêtre et reprendre plus tard là où vous en étiez.
|
||||
- else
|
||||
Pour enregistrer votre dossier et le reprendre plus tard, cliquez sur le bouton « Enregistrer le brouillon » en bas à gauche du formulaire.
|
||||
- if !apercu && dossier.user.france_connect_information.present?
|
||||
= render partial: "shared/dossiers/france_connect_informations", locals: { individual: dossier.individual }
|
||||
- if !apercu && dossier.france_connect_information.present?
|
||||
= render partial: "shared/dossiers/france_connect_informations", locals: { user_information: dossier.france_connect_information }
|
||||
- if notice_url(dossier.procedure).present?
|
||||
= link_to notice_url(dossier.procedure), target: '_blank', rel: 'noopener', class: 'button notice', title: "Pour vous aider à remplir votre dossier, vous pouvez consulter le guide de cette démarche." do
|
||||
%span.icon.info>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.card.featured
|
||||
.flex.justify-center
|
||||
= image_tag "logo-france-connect.png", alt: "France Connect logo", width: 200, class: "mb-2"
|
||||
.card-title Le dossier a été déposé par le compte de #{individual.prenom} #{individual.nom}, authentifié par France Connect le #{individual.updated_at.strftime('%d/%m/%Y')}.
|
||||
.card-title Le dossier a été déposé par le compte de #{user_information.given_name} #{user_information.family_name}, authentifié par France Connect le #{user_information.updated_at.strftime('%d/%m/%Y')}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue