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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/_form.html.haml')
-rw-r--r--app/views/search/_form.html.haml20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/views/search/_form.html.haml b/app/views/search/_form.html.haml
deleted file mode 100644
index a9eee1dd2d6..00000000000
--- a/app/views/search/_form.html.haml
+++ /dev/null
@@ -1,20 +0,0 @@
-= form_tag search_path, method: :get, class: 'search-page-form js-search-form' do |f|
- = hidden_field_tag :snippets, params[:snippets]
- = hidden_field_tag :scope, params[:scope]
- = hidden_field_tag :repository_ref, params[:repository_ref]
-
- .d-lg-flex.align-items-end
- .search-field-holder.form-group.mr-lg-1.mb-lg-0
- %label{ for: "dashboard_search" }
- = _("What are you searching for?")
- .gl-search-box-by-type
- = search_field_tag :search, params[:search], placeholder: _("Search for projects, issues, etc."), class: "gl-form-input form-control search-text-input js-search-input", id: "dashboard_search", autofocus: true, spellcheck: false
- = sprite_icon('search', css_class: 'gl-search-box-by-type-search-icon gl-icon')
- %button.search-clear.js-search-clear{ class: [("hidden" if params[:search].blank?), "has-tooltip"], type: "button", tabindex: "-1", title: _('Clear') }
- = sprite_icon('clear')
- %span.sr-only
- = _("Clear search")
- - unless params[:snippets].eql? 'true'
- = render 'filter'
- .d-flex-center.flex-column.flex-lg-row
- = button_tag _("Search"), class: "gl-button btn btn-success btn-search mt-lg-0 ml-lg-1 align-self-end"