2015-08-10 11:05:06 +02:00
|
|
|
%h2
|
|
|
|
='Localisation de votre demande'
|
|
|
|
%br
|
|
|
|
|
2015-11-10 18:08:47 +01:00
|
|
|
.content{style:'margin-bottom:60px'}
|
2015-11-12 17:34:12 +01:00
|
|
|
%button#new.btn.btn-sm.btn-success{type:'button'} Nouveau
|
2015-11-10 18:08:47 +01:00
|
|
|
\-
|
2015-11-12 17:34:12 +01:00
|
|
|
%button#edit.btn.btn-sm.btn-info{type:'button'} Editer
|
2015-11-10 18:08:47 +01:00
|
|
|
\-
|
2015-11-12 17:34:12 +01:00
|
|
|
%button#delete.btn.btn-sm.btn-danger{type:'button'} Supprimer
|
2015-08-10 11:05:06 +02:00
|
|
|
|
|
|
|
%br
|
2015-11-10 18:08:47 +01:00
|
|
|
%br
|
2015-12-08 11:32:29 +01:00
|
|
|
#carte_page.row
|
2016-01-15 11:53:00 +01:00
|
|
|
#map{class: @dossier.procedure.module_api_carto.classes }
|
|
|
|
|
2015-12-08 11:18:49 +01:00
|
|
|
- if @dossier.procedure.module_api_carto.quartiers_prioritaires
|
2016-01-15 11:53:00 +01:00
|
|
|
#qp.list
|
|
|
|
%h3.text-info Quartiers prioritaites
|
2015-12-08 11:18:49 +01:00
|
|
|
%ul
|
2016-01-15 11:53:00 +01:00
|
|
|
|
|
|
|
- if @dossier.procedure.module_api_carto.cadastre
|
|
|
|
#cadastre.list
|
|
|
|
%h3.text-warning Cadastres
|
|
|
|
%ul
|
|
|
|
|
2015-11-10 18:08:47 +01:00
|
|
|
|
2015-11-25 17:05:14 +01:00
|
|
|
= form_tag(url_for({controller: :carte, action: :save, dossier_id: @dossier.id}), class: 'form-inline', method: 'POST') do
|
2015-11-10 18:08:47 +01:00
|
|
|
%br
|
2015-11-12 17:34:12 +01:00
|
|
|
%input{type: 'hidden', value: "#{@dossier.json_latlngs}", name: 'json_latlngs', id: 'json_latlngs'}
|
2015-11-25 17:05:14 +01:00
|
|
|
%input{id: 'quartier_prioritaires', type:'hidden', value: "#{@dossier.quartier_prioritaires.to_json}"}
|
2016-01-18 14:45:08 +01:00
|
|
|
%input{id: 'cadastres', type:'hidden', value: "#{@dossier.cadastres.to_json}"}
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2015-11-10 18:08:47 +01:00
|
|
|
-if @dossier.draft?
|
|
|
|
=render partial: '/layouts/etape_suivante'
|
|
|
|
-else
|
|
|
|
=render partial: '/layouts/modifications_terminees'
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2015-11-10 18:08:47 +01:00
|
|
|
%script{type: 'text/javascript'}
|
|
|
|
="var dossier_id =#{@dossier.id}"
|
|
|
|
initCarto();
|