Hide cadastres if there is none

This commit is contained in:
Paul Chavard 2021-07-06 11:27:27 +02:00
parent 380d2c5efa
commit ab31087f23
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,7 @@
- champ.selections_utilisateur.each do |geo_area|
= render partial: 'shared/champs/carte/geo_area', locals: { geo_area: geo_area, editing: editing }
- if champ.cadastres?
- if champ.cadastres.present?
.areas-title Parcelles cadastrales
.areas
%ul