11 lines
488 B
Text
11 lines
488 B
Text
= render @autocomplete_component
|
|
|
|
= react_component("MapEditor",
|
|
featureCollection: @champ.to_feature_collection,
|
|
url: champs_carte_features_path(@champ),
|
|
options: @champ.render_options,
|
|
autocompleteAnnounceTemplateId: @autocomplete_component.announce_template_id,
|
|
autocompleteScreenReaderInstructions: t("combo_search_component.screen_reader_instructions"))
|
|
|
|
.geo-areas{ id: dom_id(@champ, :geo_areas) }
|
|
= render Dossiers::GeoAreasComponent.new(champ: @champ, editing: true)
|