Extract the title from the card when showing the Carte

This commit is contained in:
gregoirenovel 2017-10-16 11:35:12 +02:00
parent bbb680e168
commit 13ce8c28f0
3 changed files with 2 additions and 1 deletions

View file

@ -17,6 +17,7 @@
= render partial: 'new_gestionnaire/dossiers/champs', locals: { champs: champs }
- if @dossier.procedure.use_api_carto
.backoffice-title Cartographie
= render partial: 'new_gestionnaire/dossiers/map', locals: { dossier: @dossier }
- if @dossier.procedure.cerfa_flag? || @dossier.types_de_piece_justificative.any?

View file

@ -1,5 +1,4 @@
.card.featured
.card-title Cartographie
#map
- if dossier.quartier_prioritaires.any?

View file

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