diff --git a/app/views/shared/dossiers/_champ_row.html.haml b/app/views/shared/dossiers/_champ_row.html.haml index edb7f0788..d248177aa 100644 --- a/app/views/shared/dossiers/_champ_row.html.haml +++ b/app/views/shared/dossiers/_champ_row.html.haml @@ -1,4 +1,4 @@ -- champs.reject(&:exclude_from_view?).each do |c| +- champs.reject(&:exclude_from_view?).filter(&:visible?).each do |c| - if c.type_champ == TypeDeChamp.type_champs.fetch(:repetition) %tr %td.libelle.repetition{ colspan: 3 }