retrait des styles de debug

This commit is contained in:
Jérémy Lecour 2021-03-04 22:54:10 +01:00 committed by Jérémy Lecour
parent 8668df1111
commit 0f9a8b3f0e
2 changed files with 5 additions and 9 deletions

View file

@ -1,7 +1,3 @@
// Place all the styles related to the filters controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: https://sass-lang.com/
#conditions, #operations {
border: 1px solid blue;
}

View file

@ -1,21 +1,21 @@
<div id="<%= dom_id filter %>" class="<%= filter.enabled? ? 'filter--enabled' : 'filter--disabled' %> flex space-x-2 bg-green-500">
<div id="<%= dom_id filter %>" class="<%= filter.enabled? ? 'filter--enabled' : 'filter--disabled' %> flex space-x-2">
<div class="flex-auto bg-yellow-500">
<div class="flex-auto">
<strong class="pr-1">Description:</strong>
<%= filter.description || "<i>No description</i>" %>
</div>
<div class="flex-auto bg-yellow-500">
<div class="flex-auto">
<strong class="pr-1">Operator:</strong>
<%= filter.operator %>
</div>
<div class="flex-auto bg-yellow-500">
<div class="flex-auto">
<strong class="pr-1">Inverted:</strong>
<%= filter.inverted? ? 'Yes' : 'No' %>
</div>
<div class="flex-none bg-gray-500 text-center">
<div class="flex-none text-center">
<div class="">
<%= link_to 'Edit', edit_filter_path(@filter) %>
</div>