Commit 6ac549c1 authored by Phil Hughes's avatar Phil Hughes

Use helper method

parent aa316cbf
...@@ -12,10 +12,7 @@ ...@@ -12,10 +12,7 @@
Any Any
= icon("chevron-down") = icon("chevron-down")
.dropdown-menu.dropdown-select.dropdown-menu-selectable.dropdown-menu-align-right .dropdown-menu.dropdown-select.dropdown-menu-selectable.dropdown-menu-align-right
.dropdown-title = dropdown_title("Filter results by group")
%span Filter results by group
%button.dropdown-title-button.dropdown-menu-close{ aria: { label: "Close" } }
= icon('times')
= dropdown_filter("Search groups") = dropdown_filter("Search groups")
= dropdown_content = dropdown_content
= dropdown_loading = dropdown_loading
...@@ -30,10 +27,7 @@ ...@@ -30,10 +27,7 @@
Any Any
= icon("chevron-down") = icon("chevron-down")
.dropdown-menu.dropdown-select.dropdown-menu-selectable.dropdown-menu-align-right .dropdown-menu.dropdown-select.dropdown-menu-selectable.dropdown-menu-align-right
.dropdown-title = dropdown_title("Filter results by project")
%span Filter results by project
%button.dropdown-title-button.dropdown-menu-close{aria: {label: "Close"}}
= icon('times')
= dropdown_filter("Search projects") = dropdown_filter("Search projects")
= dropdown_content = dropdown_content
= dropdown_loading = dropdown_loading
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment