demarches-normaliennes/app/components/editable_champ/carte_component/carte_component.html.haml

5 lines
293 B
Text
Raw Normal View History

2022-08-12 10:45:04 +02:00
= react_component("MapEditor", featureCollection: @champ.to_feature_collection, url: champs_carte_features_path(@champ), options: @champ.render_options)
.geo-areas{ id: dom_id(@champ, :geo_areas) }
= render partial: 'shared/champs/carte/geo_areas', locals: { champ: @champ, editing: true }