29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
- content_for(:title, "Demande · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
|
||
|
||
#avis-show
|
||
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
|
||
|
||
.container
|
||
.backoffice-title Identité du demandeur
|
||
.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 }
|
||
|
||
.backoffice-title Formulaire
|
||
- champs = @dossier.ordered_champs.decorate
|
||
- if champs.any?
|
||
.card
|
||
= render partial: 'new_gestionnaire/dossiers/champs', locals: { champs: champs }
|
||
|
||
- if @dossier.procedure.use_api_carto
|
||
.backoffice-title Cartographie
|
||
.card
|
||
= render partial: 'new_gestionnaire/dossiers/map', locals: { dossier: @dossier }
|
||
|
||
- if @dossier.procedure.cerfa_flag? || @dossier.types_de_piece_justificative.any?
|
||
.backoffice-title Pièces jointes
|
||
.card
|
||
= render partial: "new_gestionnaire/dossiers/pieces_jointes", locals: { dossier: @dossier }
|