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

30 lines
1.2 KiB
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-09-06 11:26:32 +02:00
#avis-show
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
.container
.accompagnateur-title Identité du demandeur
2017-09-06 11:26:32 +02:00
.card
- if @dossier.entreprise.present?
= render partial: 'new_gestionnaire/dossiers/identite_entreprise', locals: { entreprise: @dossier.entreprise }
- if @dossier.individual.present?
= render partial: 'new_gestionnaire/dossiers/identite_individual', locals: { individual: @dossier.individual }
.accompagnateur-title Formulaire
2017-09-06 11:26:32 +02:00
- champs = @dossier.ordered_champs.decorate
- if champs.any?
.card
= render partial: 'new_gestionnaire/dossiers/champs', locals: { champs: champs, dossier: @dossier, demande_seen_at: nil }
2017-09-06 11:26:32 +02:00
- if @dossier.procedure.use_api_carto
.accompagnateur-title Cartographie
.card
= render partial: 'new_gestionnaire/dossiers/map', locals: { dossier: @dossier }
2017-09-06 11:26:32 +02:00
- if @dossier.procedure.cerfa_flag? || @dossier.types_de_piece_justificative.any?
.accompagnateur-title Pièces jointes
.card
= render partial: "new_gestionnaire/dossiers/pieces_jointes", locals: { dossier: @dossier }