Merge pull request #713 from sgmap/fix_carto

Carto: display carto only when needed
This commit is contained in:
LeSim 2017-09-08 11:28:29 +02:00 committed by GitHub
commit a308cb7def

View file

@ -16,7 +16,7 @@
- if champs.any?
= render partial: "champs", locals: { champs: champs }
- if @dossier.procedure.module_api_carto.present?
- if @dossier.procedure.use_api_carto
= render partial: "map", locals: { dossier: @dossier }
- if @dossier.procedure.cerfa_flag? || @dossier.types_de_piece_justificative.any?