2017-04-12 11:12:05 +02:00
|
|
|
.row#carto-page
|
2016-12-23 16:58:06 +01:00
|
|
|
.col-lg-12.col-md-12.col-sm-12.col-xs-12
|
2016-12-07 17:55:34 +01:00
|
|
|
%h2
|
2017-04-06 16:33:53 +02:00
|
|
|
Localisation
|
2016-12-07 17:55:34 +01:00
|
|
|
%h4.text-primary
|
|
|
|
Positionnez-vous et dessinez sur la carte la zone d'action de votre demande.
|
|
|
|
%br
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2017-04-06 19:58:11 +02:00
|
|
|
.content{ style: 'margin-bottom: 60px;' }
|
2017-04-06 17:18:03 +02:00
|
|
|
%button#new.btn.btn-md.btn-success{ type: 'button' }
|
2016-12-07 17:55:34 +01:00
|
|
|
%i.fa.fa-pencil
|
|
|
|
Ajouter une zone
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2017-04-12 11:12:05 +02:00
|
|
|
%span#search-by-address{ style: 'margin-left: 20px;' }
|
2017-04-06 19:10:25 +02:00
|
|
|
%input.form-control{ type: :address, placeholder: 'Rechercher une adresse' }
|
2016-12-07 17:55:34 +01:00
|
|
|
%br
|
|
|
|
%br
|
2016-01-15 11:53:00 +01:00
|
|
|
|
2017-04-06 19:10:25 +02:00
|
|
|
= render partial: 'users/carte/map', locals: { dossier: @dossier }
|
2016-01-15 11:53:00 +01:00
|
|
|
|
2017-04-06 19:10:25 +02:00
|
|
|
= form_tag(url_for({ controller: :carte, action: :save, dossier_id: @dossier.id }), class: 'form-inline', method: 'POST') do
|
2016-12-07 17:55:34 +01:00
|
|
|
%br
|
2017-04-26 14:55:14 +02:00
|
|
|
%input#json_latlngs{ type: 'hidden', value: "#{@dossier.json_latlngs}", name: 'json_latlngs' }
|
|
|
|
%input#quartier_prioritaires{ type: 'hidden', value: "#{@dossier.quartier_prioritaires.to_json}" }
|
|
|
|
%input#cadastres{ type: 'hidden', value: "#{@dossier.cadastres.to_json}" }
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2017-04-06 11:38:44 +02:00
|
|
|
- if @dossier.draft?
|
|
|
|
= render partial: '/layouts/etape_suivante'
|
|
|
|
- else
|
|
|
|
= render partial: '/layouts/modifications_terminees'
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2017-04-06 19:10:25 +02:00
|
|
|
= render partial: 'users/carte/init_carto', locals: { dossier: @dossier }
|