demarches-normaliennes/app/views/shared/champs/carte/_show.html.haml
2024-07-05 09:36:33 +02:00

5 lines
255 B
Text

- if champ.geometry?
%react-fragment.width-100
= render ReactComponent.new "MapReader", feature_collection: champ.to_feature_collection, options: champ.render_options
.geo-areas
= render Dossiers::GeoAreasComponent.new(champ:, editing: false)