reinit filters
This commit is contained in:
parent
29be3812af
commit
a5a93260cf
2 changed files with 15 additions and 3 deletions
|
@ -11,4 +11,12 @@
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
}
|
}
|
||||||
|
legend {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.reinit a {
|
||||||
|
background-image: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,9 +14,13 @@
|
||||||
= form_with(url: all_admin_procedures_path, method: :get, html: {'data-autosubmit-target': 'form'}) do |f|
|
= form_with(url: all_admin_procedures_path, method: :get, html: {'data-autosubmit-target': 'form'}) do |f|
|
||||||
|
|
||||||
%fieldset.sidebar-filter
|
%fieldset.sidebar-filter
|
||||||
%legend.font-weight-bold.fr-pl-2w
|
%legend
|
||||||
%span.fr-icon-filter-fill.fr-icon--sm.fr-mr-1w{'aria-hidden': 'true'}
|
.title.font-weight-bold.fr-pl-2w
|
||||||
Filtrer
|
%span.fr-icon-filter-fill.fr-icon--sm.fr-mr-1w{'aria-hidden': 'true'}
|
||||||
|
Filtrer
|
||||||
|
.reinit
|
||||||
|
= link_to all_admin_procedures_path(zone_ids: current_administrateur.zones) do
|
||||||
|
%span.fr-icon-arrow-go-back-line Réinitialiser
|
||||||
%ul
|
%ul
|
||||||
%li.fr-py-2w.fr-pl-2w{'data-controller': "expand"}
|
%li.fr-py-2w.fr-pl-2w{'data-controller': "expand"}
|
||||||
.fr-mb-1w{'data-action': 'click->expand#toggle'}
|
.fr-mb-1w{'data-action': 'click->expand#toggle'}
|
||||||
|
|
Loading…
Reference in a new issue