Use helper method

This commit is contained in:
Phil Hughes 2016-04-15 16:09:34 +01:00
parent aa316cbfff
commit 6ac549c1de
1 changed files with 2 additions and 8 deletions

View File

@ -12,10 +12,7 @@
Any
= icon("chevron-down")
.dropdown-menu.dropdown-select.dropdown-menu-selectable.dropdown-menu-align-right
.dropdown-title
%span Filter results by group
%button.dropdown-title-button.dropdown-menu-close{ aria: { label: "Close" } }
= icon('times')
= dropdown_title("Filter results by group")
= dropdown_filter("Search groups")
= dropdown_content
= dropdown_loading
@ -30,10 +27,7 @@
Any
= icon("chevron-down")
.dropdown-menu.dropdown-select.dropdown-menu-selectable.dropdown-menu-align-right
.dropdown-title
%span Filter results by project
%button.dropdown-title-button.dropdown-menu-close{aria: {label: "Close"}}
= icon('times')
= dropdown_title("Filter results by project")
= dropdown_filter("Search projects")
= dropdown_content
= dropdown_loading