demarches-normaliennes/app/views/champs/carte/index.turbo_stream.haml

5 lines
219 B
Text
Raw Normal View History

2022-05-03 19:43:25 +02:00
= turbo_stream.update dom_id(@champ, :geo_areas), partial: 'shared/champs/carte/geo_areas', locals: { champ: @champ, editing: true }
- if @focus
= turbo_stream.dispatch 'map:feature:focus', bbox: @champ.bounding_box