2017-11-17 23:40:51 +01:00
|
|
|
|
- content_for(:title, "Demande · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
|
|
|
|
|
|
2017-07-11 16:56:25 +02:00
|
|
|
|
= render partial: "header", locals: { dossier: @dossier }
|
|
|
|
|
|
2017-07-06 16:33:36 +02:00
|
|
|
|
.container
|
2017-11-30 16:49:01 +01:00
|
|
|
|
.accompagnateur-title Identité du demandeur
|
2017-07-06 16:33:36 +02:00
|
|
|
|
.card
|
|
|
|
|
- if @dossier.entreprise.present?
|
|
|
|
|
= render partial: "identite_entreprise", locals: { entreprise: @dossier.entreprise }
|
2017-07-06 16:51:01 +02:00
|
|
|
|
|
2017-07-11 15:55:08 +02:00
|
|
|
|
- if @dossier.individual.present?
|
|
|
|
|
= render partial: "identite_individual", locals: { individual: @dossier.individual }
|
|
|
|
|
|
2017-11-30 16:49:01 +01:00
|
|
|
|
.accompagnateur-title Formulaire
|
2017-12-01 17:01:43 +01:00
|
|
|
|
- champs = @dossier.ordered_champs.includes(:type_de_champ).decorate
|
2017-09-07 18:14:45 +02:00
|
|
|
|
- if champs.any?
|
2017-10-16 11:36:57 +02:00
|
|
|
|
.card
|
2017-07-11 16:50:29 +02:00
|
|
|
|
= render partial: "champs", locals: { champs: champs }
|
2017-07-06 17:52:16 +02:00
|
|
|
|
|
2017-09-08 10:16:27 +02:00
|
|
|
|
- if @dossier.procedure.use_api_carto
|
2017-11-30 16:49:01 +01:00
|
|
|
|
.accompagnateur-title Cartographie
|
2017-10-16 17:01:56 +02:00
|
|
|
|
.card
|
|
|
|
|
= render partial: "map", locals: { dossier: @dossier }
|
2017-07-24 20:04:41 +02:00
|
|
|
|
|
2017-07-06 17:52:16 +02:00
|
|
|
|
- if @dossier.procedure.cerfa_flag? || @dossier.types_de_piece_justificative.any?
|
2017-11-30 16:49:01 +01:00
|
|
|
|
.accompagnateur-title Pièces jointes
|
2017-10-16 11:36:57 +02:00
|
|
|
|
.card
|
2017-10-16 17:01:12 +02:00
|
|
|
|
= render partial: "pieces_jointes", locals: { dossier: @dossier }
|