puts filters in span to display correctly multiples filters

This commit is contained in:
Lisa Durand 2023-01-05 12:03:22 +01:00
parent 080747f60b
commit b65a3d4baf

View file

@ -4,7 +4,7 @@
#filter-menu.dropdown-content.left-aligned.fade-in-down{ data: { menu_button_target: 'menu' } }
= render Dossiers::FilterComponent.new(procedure: procedure, procedure_presentation: @procedure_presentation, statut: statut)
- current_filters.group_by { |filter| filter['table'] }.each_with_index do |(table, filters), i|
- current_filters.group_by { |filter| filter['table'] }.each_with_index do |(table, filters), i|
- if i > 0
= " et "
- filters.each_with_index do |filter, i|