2019-01-24 18:30:14 +01:00
|
|
|
<%= render_flash(timeout: 5000, fixed: true) %>
|
|
|
|
|
2018-10-17 12:02:34 +02:00
|
|
|
<%= render_to_element("#{@selector} + .geo-areas",
|
|
|
|
partial: 'shared/champs/carte/geo_areas',
|
|
|
|
locals: { champ: @champ, error: @error }) %>
|
|
|
|
|
2019-04-25 16:30:51 +02:00
|
|
|
<%= fire_event('carte:update', { selector: @selector, data: @champ.to_render_data }.to_json) %>
|