2024-04-09 16:18:44 +02:00
|
|
|
.fr-fieldset__element
|
|
|
|
= render @autocomplete_component
|
2023-02-27 11:59:38 +01:00
|
|
|
|
2024-04-09 16:18:44 +02:00
|
|
|
= react_component("MapEditor",
|
|
|
|
{ featureCollection: @champ.to_feature_collection,
|
2024-04-11 11:34:06 +02:00
|
|
|
champId: @champ.input_id,
|
2024-04-22 10:47:47 +02:00
|
|
|
url: update_path,
|
2024-04-09 16:18:44 +02:00
|
|
|
options: @champ.render_options,
|
|
|
|
autocompleteAnnounceTemplateId: @autocomplete_component.announce_template_id,
|
|
|
|
autocompleteScreenReaderInstructions: t("combo_search_component.screen_reader_instructions") },
|
|
|
|
{class: 'width-100'})
|
2022-08-12 10:45:04 +02:00
|
|
|
|
2024-04-09 16:18:44 +02:00
|
|
|
.geo-areas{ id: dom_id(@champ, :geo_areas) }
|
|
|
|
= render Dossiers::GeoAreasComponent.new(champ: @champ, editing: true)
|