2020-05-05 15:09:29 +02:00
|
|
|
<%= render_flash(timeout: 5000, fixed: true) %>
|
|
|
|
|
|
|
|
<%= render_to_element("#{@selector} + .geo-areas",
|
|
|
|
partial: 'shared/champs/carte/geo_areas',
|
2020-05-14 11:21:33 +02:00
|
|
|
locals: { champ: @champ }) %>
|
2020-05-05 15:09:29 +02:00
|
|
|
|
|
|
|
<% if @update_cadastres %>
|
|
|
|
<%= fire_event('cadastres:update', { featureCollection: @champ.to_feature_collection }.to_json) %>
|
|
|
|
<% end %>
|