gitlab-org--gitlab-foss/app/views/search/show.html.haml
Dmitriy Zaporozhets 010a770b3f
Migrate forms and inputs pt1
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 02:50:36 +02:00

16 lines
658 B
Text

= form_tag search_path, method: :get, class: 'form-inline' do |f|
.search-holder
= label_tag :search do
%span Looking for
.col-sm-10
= search_field_tag :search, params[:search], placeholder: "issue 143", class: "input-lg search-text-input", id: "dashboard_search"
= hidden_field_tag :project_id, params[:project_id]
= hidden_field_tag :group_id, params[:group_id]
= hidden_field_tag :search_code, params[:search_code]
= submit_tag 'Search', class: "btn btn-create"
.prepend-top-10
= render 'filter', f: f
.results.prepend-top-10
- if params[:search].present?
= render 'search/results'