Implements the ofn-drop-down-v2 design

This commit is contained in:
Jean-Baptiste Bellet
2022-09-27 16:11:19 +02:00
parent 23e2d28488
commit b4e041c7e9
2 changed files with 38 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
.ofn-drop-down{ data: { controller: "multiple-checked-select", "multiple-checked-select-input-name-value": @name } }
%div{ "data-multiple-checked-select-target": "button" }
%span{ class: 'icon-reorder' }
= "  #{t('admin.columns')}".html_safe
.ofn-drop-down.ofn-drop-down-v2{ data: { controller: "multiple-checked-select", "multiple-checked-select-input-name-value": @name } }
%div.ofn-drop-down-label{ "data-multiple-checked-select-target": "button" }
%span{class: "label"}= t('admin.columns')
%span{ class: "icon-caret-down", "data-multiple-checked-select-target": "caret" }
%div.menu{ class: "hidden", "data-multiple-checked-select-target": "options" }
%div.filter