fix(dossier): do not show header section title twice

This commit is contained in:
Paul Chavard 2023-06-28 11:23:20 +02:00
parent 10a37793be
commit c284c678a8

View file

@ -5,7 +5,7 @@
- champ.rows.each do |row| - champ.rows.each do |row|
= render Dossiers::ChampRowShowComponent.new(champs: row, demande_seen_at: @demande_seen_at, profile: @profile, repetition: true) = render Dossiers::ChampRowShowComponent.new(champs: row, demande_seen_at: @demande_seen_at, profile: @profile, repetition: true)
- else - elsif !champ.header_section?
.flex.d-block-sm .flex.d-block-sm
%p.champ-label.flex-grow= "#{champ.libelle} :" %p.champ-label.flex-grow= "#{champ.libelle} :"