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;' }
|
2018-08-22 15:06:19 +02:00
|
|
|
%input.form-control{ type: :address, data: { autocomplete: '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
|
2018-10-10 20:01:02 +02:00
|
|
|
%input{ type: 'hidden', value: "#{@dossier.json_latlngs}", name: 'selection', data: { remote: true, url: users_dossier_carte_zones_path(@dossier), method: 'POST' } }
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2017-12-04 16:17:15 +01:00
|
|
|
- if @dossier.brouillon?
|
2017-04-06 11:38:44 +02:00
|
|
|
= render partial: '/layouts/etape_suivante'
|
|
|
|
- else
|
|
|
|
= render partial: '/layouts/modifications_terminees'
|