From a020aefa05cd51951625905ee9fad2daccdea289 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 9 Jul 2024 19:36:59 +0200 Subject: [PATCH] fix(expert): demande layout like in instructeurs view --- app/views/experts/avis/show.html.haml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/experts/avis/show.html.haml b/app/views/experts/avis/show.html.haml index 3704bedac..7ae1c1e90 100644 --- a/app/views/experts/avis/show.html.haml +++ b/app/views/experts/avis/show.html.haml @@ -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' }