summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_projects_head.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-05 11:10:44 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-05 11:10:44 +0100
commitf8526fef0b2bde3b517ee993e5cef48c6c8f5da7 (patch)
treeb3abaf01e403d16cebd96b1c2fce2d423905aec4 /app/views/dashboard/_projects_head.html.haml
parent3f1bd844f1f645d3d97caec4aa2504fde63b31fd (diff)
downloadgitlab-ce-f8526fef0b2bde3b517ee993e5cef48c6c8f5da7.tar.gz
Fix project filter form rendering
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/dashboard/_projects_head.html.haml')
-rw-r--r--app/views/dashboard/_projects_head.html.haml14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/dashboard/_projects_head.html.haml b/app/views/dashboard/_projects_head.html.haml
index 91712ce6fc5..d46998ec1e9 100644
--- a/app/views/dashboard/_projects_head.html.haml
+++ b/app/views/dashboard/_projects_head.html.haml
@@ -13,10 +13,10 @@
Explore Projects
.nav-controls
- .pull-right
- = form_tag request.original_url, method: :get, class: 'pull-left project-filter-form', id: 'project-filter-form' do |f|
- = search_field_tag :filter_projects, params[:filter_projects], placeholder: 'Filter by name...', class: 'pull-left form-control project-filter-form-field form-control', spellcheck: false, id: 'project-filter-form-field'
- - if current_user.can_create_project?
- = link_to new_project_path, class: 'btn btn-new pull-left' do
- = icon('plus')
- New Project
+ = form_tag request.original_url, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f|
+ = search_field_tag :filter_projects, params[:filter_projects], placeholder: 'Filter by name...', class: 'project-filter-form-field form-control input-short', spellcheck: false, id: 'project-filter-form-field'
+ = render 'explore/projects/dropdown'
+ - if current_user.can_create_project?
+ = link_to new_project_path, class: 'btn btn-new' do
+ = icon('plus')
+ New Project