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
|
.backoffice-title Formulaire
|
||||||
|
|
||||||
.card.featured
|
|
||||||
- champs = @dossier.ordered_champs.decorate
|
- champs = @dossier.ordered_champs.decorate
|
||||||
- if champs.any?
|
- if champs.any?
|
||||||
|
.card.featured
|
||||||
= render partial: "champs", locals: { champs: champs }
|
= render partial: "champs", locals: { champs: champs }
|
||||||
|
|
||||||
- if @dossier.procedure.use_api_carto
|
- if @dossier.procedure.use_api_carto
|
||||||
|
|
Loading…
Add table
Reference in a new issue