summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/search/_filter.html.haml10
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