Skip to content
Snippets Groups Projects
Commit 6eafcde7 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

filter

parent a63680a4
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@
main
min-height: 70vh
position: relative
.container-fluid
padding-right: var(--bs-gutter-x)
......@@ -94,6 +95,15 @@ a
right: 0
z-index: 100
.filters
position: absolute
top: 0
right: var(--bs-gutter-x)
margin-top: 0px !important
#collapseFilters
padding-top: 50px
.table
input[type=checkbox]
margin-right: 10px
......
......@@ -5,7 +5,7 @@ filters.each { |filter| should_be_open = true if params.has_key?(filter[:scope_n
%>
<% if collapsable %>
<div class="text-end mt-n5">
<div class="text-end filters mt-n5">
<a class="btn btn-outline-secondary btn-sm"
data-bs-toggle="collapse"
href="#collapseFilters"
......
<h2 class="mb-4"><%= t(".title", resource: resource.model_name.human) %></h2>
<% content_for :title, resource %>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
<%= f.error_notification %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment