2023-06-09 16:29:42 +02:00
|
|
|
= turbo_stream.update dom_id(@champ, :geo_areas) do
|
|
|
|
= render Dossiers::GeoAreasComponent.new(champ: @champ, editing: true)
|
2022-05-03 19:43:25 +02:00
|
|
|
|
|
|
|
- if @focus
|
|
|
|
= turbo_stream.dispatch 'map:feature:focus', bbox: @champ.bounding_box
|
2023-06-06 11:28:10 +02:00
|
|
|
|
|
|
|
- if @champ.dossier.editing_fork?
|
|
|
|
= turbo_stream.replace_all '.dossier-edit-sticky-footer' do
|
|
|
|
= render Dossiers::EditFooterComponent.new(dossier: @champ.dossier, annotation: @champ.private?)
|