diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-09 03:39:14 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-15 21:34:31 +0300 |
commit | 6f449c63ddab0027ef064b436d98c8e820cbe7b3 (patch) | |
tree | aca6958416edadef4f51b9256bde85ade535e371 /app/views/layouts/_search.html.haml | |
parent | 4b3d344688954e9c515b9bb8f26239a781fcabfb (diff) |
Apply styling and tweaks to autocomplete dropdown
Diffstat (limited to 'app/views/layouts/_search.html.haml')
-rw-r--r-- | app/views/layouts/_search.html.haml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/app/views/layouts/_search.html.haml b/app/views/layouts/_search.html.haml index c5002893831..843c833b4fe 100644 --- a/app/views/layouts/_search.html.haml +++ b/app/views/layouts/_search.html.haml @@ -1,9 +1,12 @@ -.search - = form_tag search_path, method: :get, class: 'navbar-form pull-left' do |f| - = render 'shared/location_badge' - = search_field_tag "search", nil, placeholder: 'Search', class: "search-input form-control", spellcheck: false, tabindex: "1" - = hidden_field_tag :group_id, @group.try(:id) +.search.search-form + = form_tag search_path, method: :get, class: 'navbar-form' do |f| + .search-input-container + .search-location-badge + = render 'shared/location_badge' + .search-input-wrap + = search_field_tag "search", nil, placeholder: 'Search', class: "search-input", spellcheck: false, tabindex: "1", autocomplete: 'off' + = hidden_field_tag :group_id, @group.try(:id) = hidden_field_tag :project_id, @project && @project.persisted? ? @project.id : '' - if @project && @project.persisted? |