feat(dossier): exclude conditionally invisible fields from instructeur interface
This commit is contained in:
parent
0f9d8b6a39
commit
e82f0fd0c8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
- if c.type_champ == TypeDeChamp.type_champs.fetch(:repetition)
|
||||||
%tr
|
%tr
|
||||||
%td.libelle.repetition{ colspan: 3 }
|
%td.libelle.repetition{ colspan: 3 }
|
||||||
|
|
Loading…
Add table
Reference in a new issue