Merge pull request #10593 from colinux/demande-experts-layout

ETQ expert, la vue d'un dossier respecte le bon layout
This commit is contained in:
mfo 2024-07-10 13:03:02 +00:00 committed by GitHub
commit d492bc509d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,4 +2,9 @@
= render partial: 'header', locals: { avis: @avis, dossier: @dossier } = 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' }