demarches-normaliennes/app/views/champs/carte/index.turbo_stream.haml
2022-05-04 14:11:43 +02:00

4 lines
219 B
Text

= 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