2018-08-14 13:39:49 +02:00
|
|
|
.container
|
|
|
|
.tab-title Identité du demandeur
|
|
|
|
.card
|
|
|
|
= render partial: "shared/dossiers/user_infos", locals: { user: dossier.user }
|
|
|
|
|
|
|
|
- if dossier.etablissement.present?
|
2018-10-17 12:12:32 +02:00
|
|
|
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: dossier.etablissement, profile: profile }
|
2018-08-14 13:39:49 +02:00
|
|
|
|
|
|
|
- if dossier.individual.present?
|
|
|
|
= render partial: "shared/dossiers/identite_individual", locals: { individual: dossier.individual }
|
|
|
|
|
|
|
|
.tab-title Formulaire
|
2018-08-30 11:51:35 +02:00
|
|
|
- champs = dossier.champs.includes(:type_de_champ).decorate
|
2018-08-14 13:39:49 +02:00
|
|
|
- if champs.any?
|
|
|
|
.card
|
2018-10-17 12:12:32 +02:00
|
|
|
= render partial: "shared/dossiers/champs", locals: { champs: champs, demande_seen_at: demande_seen_at, profile: profile }
|
2018-08-14 13:39:49 +02:00
|
|
|
|
2018-10-31 11:32:41 +01:00
|
|
|
- if dossier.use_legacy_carto?
|
2018-08-14 13:39:49 +02:00
|
|
|
.tab-title Cartographie
|
|
|
|
.card
|
|
|
|
= render partial: "shared/dossiers/map", locals: { dossier: dossier }
|
|
|
|
|
|
|
|
- if dossier.types_de_piece_justificative.any?
|
|
|
|
.tab-title Pièces jointes
|
|
|
|
.card
|
|
|
|
= render partial: "shared/dossiers/pieces_jointes", locals: { dossier: dossier, demande_seen_at: demande_seen_at }
|