make selected zones removable

This commit is contained in:
Christophe Robillard 2022-10-28 11:25:38 +02:00
parent e10e8f1024
commit 619afbacad

View file

@ -58,7 +58,7 @@
- if @selected_zones
.selected-zones.fr-mb-2w
- @selected_zones.each do |zone|
%p.fr-tag.fr-mb-1w.fr--background-alt-blue-france= zone.current_label
= link_to zone.current_label, all_admin_procedures_path(zone_ids: @selected_zones.map(&:id) - [zone.id]), class: 'fr-tag fr-tag--dismiss fr-mb-1w'
- if @statuses
.selected-statuses.fr-mb-2w
- @statuses.each do |status|