2018-10-17 12:07:12 +02:00
|
|
|
.toolbar
|
|
|
|
%button.button.primary.new-area Ajouter une zone
|
2020-01-13 16:26:27 +01:00
|
|
|
%input.address{ data: { address: true, autocomplete: 'address' }, placeholder: 'Saisissez une adresse ou positionner la carte' }
|
2018-10-17 12:07:12 +02:00
|
|
|
|
|
|
|
.carte.edit{ data: { geo: geo_data(champ) }, class: "carte-#{form.index}" }
|
|
|
|
|
|
|
|
.geo-areas
|
|
|
|
= render partial: 'shared/champs/carte/geo_areas', locals: { champ: champ, error: false }
|
|
|
|
|
|
|
|
= form.hidden_field :value,
|
2019-02-19 16:14:42 +01:00
|
|
|
data: { remote: true, url: champs_carte_path(form.index), params: champ_carte_params(champ).to_query, method: 'post' }
|