demarches-normaliennes/app/views/shared/champs/carte/_show.html.haml

5 lines
214 B
Text
Raw Normal View History

- if champ.geometry?
= react_component("MapReader", { featureCollection: champ.to_feature_collection } )
.geo-areas
= render partial: 'shared/champs/carte/geo_areas', locals: { champ: champ, error: false }