40 lines
No EOL
1.2 KiB
Text
40 lines
No EOL
1.2 KiB
Text
%h2
|
|
='Localisation de votre demande'
|
|
%br
|
|
|
|
.content{style:'margin-bottom:60px'}
|
|
%button#new.btn.btn-sm.btn-success{type:'button'} Nouveau
|
|
\-
|
|
%button#edit.btn.btn-sm.btn-info{type:'button'} Editer
|
|
\-
|
|
%button#delete.btn.btn-sm.btn-danger{type:'button'} Supprimer
|
|
|
|
%br
|
|
%br
|
|
#carte_page.row
|
|
#map{class: @dossier.procedure.module_api_carto.classes }
|
|
|
|
- if @dossier.procedure.module_api_carto.quartiers_prioritaires
|
|
#qp.list
|
|
%h3.text-info Quartiers prioritaites
|
|
%ul
|
|
|
|
- if @dossier.procedure.module_api_carto.cadastre
|
|
#cadastre.list
|
|
%h3.text-warning Cadastres
|
|
%ul
|
|
|
|
|
|
= form_tag(url_for({controller: :carte, action: :save, dossier_id: @dossier.id}), class: 'form-inline', method: 'POST') do
|
|
%br
|
|
%input{type: 'hidden', value: "#{@dossier.json_latlngs}", name: 'json_latlngs', id: 'json_latlngs'}
|
|
%input{id: 'quartier_prioritaires', type:'hidden', value: "#{@dossier.quartier_prioritaires.to_json}"}
|
|
|
|
-if @dossier.draft?
|
|
=render partial: '/layouts/etape_suivante'
|
|
-else
|
|
=render partial: '/layouts/modifications_terminees'
|
|
|
|
%script{type: 'text/javascript'}
|
|
="var dossier_id =#{@dossier.id}"
|
|
initCarto(); |