Merge pull request #711 from sgmap/display_cards_champs_if_needed
Dossier show: display cards champ if needed
This commit is contained in:
commit
ea245a869d
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?
|
||||
.card.featured
|
||||
= render partial: "champs", locals: { champs: champs }
|
||||
|
||||
- if @dossier.procedure.use_api_carto
|
||||
|
|
Loading…
Reference in a new issue