demarches-normaliennes/app/views/shared/dossiers/_map.html.haml

20 lines
523 B
Text
Raw Normal View History

- if dossier.json_latlngs.nil?
%h2.empty-text Non renseigné
- else
#map
2017-07-24 20:04:41 +02:00
- if dossier.quartier_prioritaires.any?
.card-title Quartiers prioritaires
%ul
- dossier.quartier_prioritaires.each do |q|
%li= q.nom
2017-07-24 20:04:41 +02:00
- if dossier.cadastres.any?
.card-title Parcelles cadastrales
%ul
- dossier.cadastres.each do |p|
%li
= "Parcelle n° #{p.numero} - Feuille #{p.code_arr} #{p.section} #{p.feuille}"
2017-07-24 20:04:41 +02:00
2018-10-17 12:03:50 +02:00
= render partial: 'shared/champs/carte/init', locals: { dossier: dossier }