Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2022-02-08 00:10:01 +0300
committerSuzanne Selhorn <sselhorn@gitlab.com>2022-02-08 00:10:01 +0300
commite795ae745833427e8006ded108222f1af0ea988b (patch)
tree5c349860ad78ead7ca25819b4b68856014408057 /layouts/header.html
parentf0a35e98964577964f9014eb9e5cddc3df8bf13c (diff)
Migrate to Docsearch v3
Diffstat (limited to 'layouts/header.html')
-rw-r--r--layouts/header.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/layouts/header.html b/layouts/header.html
index 5c1b3130..083744d1 100644
--- a/layouts/header.html
+++ b/layouts/header.html
@@ -12,11 +12,7 @@
<% if @item[:searchbar].nil? %>
<% location = @item.identifier.to_s.split('/')[1] %>
<% unless %w(search index.erb).any?(location) %>
- <form class="form-inline my-2 my-lg-0" id="search-form" action="/search/" method="get" role="search">
- <span class="fa fa-search form-control-feedback position-absolute ml-3 text-muted" aria-hidden="true"></span>
- <input class="form-control mr-sm-2 docsearch border-0" name="query" type="search" placeholder="Search the docs..." aria-label="Search">
- <input type="submit" style="visibility: hidden; position:absolute;" aria-label="Submit search" />
- </form>
+ <div id="docsearch" class="my-2 my-lg-0"></div>
<% end %>
<% end %>
</li>