fix(expert): demande layout like in instructeurs view

This commit is contained in:
Colin Darie 2024-07-09 19:36:59 +02:00
parent f3690d8890
commit a020aefa05
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -2,4 +2,9 @@
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
= render partial: 'shared/dossiers/demande', locals: { dossier: @dossier, demande_seen_at: nil, profile: 'expert' }
.fr-container
.fr-grid-row.fr-grid-row--center
- summary = ViewableChamp::HeaderSectionsSummaryComponent.new(dossier: @dossier, is_private: false)
= render summary
%div{ class: class_names("fr-col-12", "fr-col-xl-9" => summary.render?, "fr-col-xl-8" => !summary.render?) }
= render partial: "shared/dossiers/demande", locals: { dossier: @dossier, demande_seen_at: nil, profile: 'expert' }