summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-12 13:33:27 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-12 13:41:23 +0400
commit23f8f13ea442cc878a2a4fc61b7ff9f492517c27 (patch)
tree75514a064164de099cfd1774713e7f9932c1c5ba
parent072883fd08d2c15498ef12f96090ec14529a0bbc (diff)
downloadgitlab-ce-23f8f13ea442cc878a2a4fc61b7ff9f492517c27.tar.gz
Search fields were have same id's. Fixed
-rw-r--r--app/views/dashboard/_filter.html.haml2
-rw-r--r--app/views/dashboard/projects.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/_filter.html.haml b/app/views/dashboard/_filter.html.haml
index 82e679d5927..df4447cd205 100644
--- a/app/views/dashboard/_filter.html.haml
+++ b/app/views/dashboard/_filter.html.haml
@@ -1,6 +1,6 @@
= form_tag dashboard_filter_path(entity), method: 'get' do
%fieldset.dashboard-search-filter
- = search_field_tag "search", params[:search], { placeholder: 'Search', class: 'search-text-input' }
+ = search_field_tag "search", params[:search], { id: 'filter_search', placeholder: 'Search', class: 'search-text-input' }
= button_tag type: 'submit', class: 'btn' do
%i.icon-search
diff --git a/app/views/dashboard/projects.html.haml b/app/views/dashboard/projects.html.haml
index 8e21b0c7e02..e211fc34d1a 100644
--- a/app/views/dashboard/projects.html.haml
+++ b/app/views/dashboard/projects.html.haml
@@ -24,7 +24,7 @@
= form_tag projects_dashboard_path, method: 'get' do
%fieldset.dashboard-search-filter
= hidden_field_tag "scope", params[:scope]
- = search_field_tag "search", params[:search], { placeholder: 'Search', class: 'left input-xxlarge' }
+ = search_field_tag "search", params[:search], { id: 'dashboard_projects_search', placeholder: 'Search', class: 'left input-xxlarge'}
= button_tag type: 'submit', class: 'btn' do
%i.icon-search