demarches-normaliennes/app/views/champs/carte/show.js.erb
2018-10-23 09:35:25 +02:00

5 lines
204 B
Text

<%= render_to_element("#{@selector} + .geo-areas",
partial: 'shared/champs/carte/geo_areas',
locals: { champ: @champ, error: @error }) %>
DS.drawMapData("<%= @selector %>", <%= geo_data(@champ) %>);