summaryrefslogtreecommitdiff
path: root/app/views/search/_form.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-27 00:50:17 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-27 00:50:17 +0200
commite06fe6b7e1d02784992cb9c413f65504ad63ce14 (patch)
tree7e8f9f609a012858582f3b85ae3d654626b50728 /app/views/search/_form.html.haml
parentdcdf214fd15244fd41cc22cfc068c0b6ee421069 (diff)
downloadgitlab-ce-e06fe6b7e1d02784992cb9c413f65504ad63ce14.tar.gz
Make search bar on search page more noticeable
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/search/_form.html.haml')
-rw-r--r--app/views/search/_form.html.haml12
1 files changed, 7 insertions, 5 deletions
diff --git a/app/views/search/_form.html.haml b/app/views/search/_form.html.haml
index 5ee70be1ad6..3938c545cad 100644
--- a/app/views/search/_form.html.haml
+++ b/app/views/search/_form.html.haml
@@ -1,12 +1,14 @@
-= form_tag search_path, method: :get, class: 'form-inline' do |f|
+= form_tag search_path, method: :get do |f|
= hidden_field_tag :project_id, params[:project_id]
= hidden_field_tag :group_id, params[:group_id]
= hidden_field_tag :snippets, params[:snippets]
= hidden_field_tag :scope, params[:scope]
+
.search-holder.clearfix
- .form-group
+ .input-group
= search_field_tag :search, params[:search], placeholder: "Search for projects, issues etc", class: "form-control search-text-input", id: "dashboard_search", autofocus: true
- = button_tag 'Search', class: "btn btn-primary"
+ %span.input-group-btn
+ = button_tag 'Search', class: "btn btn-primary"
- unless params[:snippets].eql? 'true'
- .pull-right
- = render 'filter'
+ %br
+ = render 'filter'