feat(dossier): exclude conditionally invisible fields from instructeur interface

This commit is contained in:
Paul Chavard 2022-06-27 11:56:35 +02:00
parent 0f9d8b6a39
commit e82f0fd0c8

View file

@ -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 }