demarches-normaliennes/app/components/dossiers/geo_areas_component.html.haml

18 lines
599 B
Text
Raw Normal View History

- if champ.selections_utilisateur.present?
2024-02-08 17:08:45 +01:00
.fr-label Sélections utilisateur
.areas
%ul
- champ.selections_utilisateur.slice(0, 50).each do |geo_area|
2023-06-09 16:29:42 +02:00
= render Dossiers::GeoAreaComponent.new(geo_area:, editing:)
- if champ.selections_utilisateur.size > 50
%li
%span
et #{champ.selections_utilisateur.size - 50} autres points, lignes ou polygones.
2021-07-06 11:27:27 +02:00
- if champ.cadastres.present?
2024-02-08 17:08:45 +01:00
.fr-label Parcelles cadastrales
2018-10-17 12:02:34 +02:00
.areas
2021-05-25 16:10:01 +02:00
%ul
- champ.cadastres.each do |geo_area|
2023-06-09 16:29:42 +02:00
= render Dossiers::GeoAreaComponent.new(geo_area:, editing:)