demarches-normaliennes/app/views/shared/dossiers/_identite_individual.html.haml

18 lines
686 B
Text
Raw Normal View History

2023-11-14 16:11:17 +01:00
= render Dossiers::RowShowComponent.new(label: t('views.users.dossiers.identite.civility')) do |c|
- c.with_value do
2023-11-14 16:11:17 +01:00
%p= dossier.individual.gender
= render Dossiers::RowShowComponent.new(label: t('views.users.dossiers.identite.first_name')) do |c|
- c.with_value do
2023-11-14 16:11:17 +01:00
%p= dossier.individual.prenom
= render Dossiers::RowShowComponent.new(label: t('views.users.dossiers.identite.last_name')) do |c|
- c.with_value do
2023-11-14 16:11:17 +01:00
%p= dossier.individual.nom
2023-11-14 16:11:17 +01:00
- if dossier.individual.birthdate.present?
= render Dossiers::RowShowComponent.new(label: t('views.users.dossiers.identite.birthdate')) do |c|
- c.with_value do
2023-11-14 16:11:17 +01:00
%p= try_format_date(dossier.individual.birthdate)