demarches-normaliennes/app/views/new_gestionnaire/dossiers/show.html.haml

29 lines
1,006 B
Text
Raw Normal View History

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 }
.container
.accompagnateur-title Identité du demandeur
.card
- if @dossier.entreprise.present?
= render partial: "identite_entreprise", locals: { entreprise: @dossier.entreprise }
2017-07-11 15:55:08 +02:00
- if @dossier.individual.present?
= render partial: "identite_individual", locals: { individual: @dossier.individual }
.accompagnateur-title Formulaire
- champs = @dossier.ordered_champs.decorate
- if champs.any?
.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
.accompagnateur-title Cartographie
.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?
.accompagnateur-title Pièces jointes
.card
= render partial: "pieces_jointes", locals: { dossier: @dossier }