diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-15 18:09:34 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-26 11:03:04 +0300 |
commit | 6ac549c1dea7a30d6c2245024879ec5761c40061 (patch) | |
tree | 5851bd0f36512a6a129ea7f8c33acabef19f9555 /app/views/search | |
parent | aa316cbfff8a3a1c416a3de6054608c96106d39f (diff) |
Use helper method
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/_filter.html.haml | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/app/views/search/_filter.html.haml b/app/views/search/_filter.html.haml index 678d620d21b..ef1c0296d49 100644 --- a/app/views/search/_filter.html.haml +++ b/app/views/search/_filter.html.haml @@ -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 |