Dossier show: display cards champ if needed
This commit is contained in:
parent
c9444f4a76
commit
c2d042eb99
1 changed files with 3 additions and 3 deletions
|
@ -11,9 +11,9 @@
|
|||
|
||||
.backoffice-title Formulaire
|
||||
|
||||
.card.featured
|
||||
- champs = @dossier.ordered_champs.decorate
|
||||
- if champs.any?
|
||||
- champs = @dossier.ordered_champs.decorate
|
||||
- if champs.any?
|
||||
.card.featured
|
||||
= render partial: "champs", locals: { champs: champs }
|
||||
|
||||
- if @dossier.procedure.use_api_carto
|
||||
|
|
Loading…
Reference in a new issue