summaryrefslogtreecommitdiff
path: root/app/views/search/show.html.haml
blob: 25e8c00888ac3317773a0a5efba9c9251845bdb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
= form_tag search_path, method: :get, class: 'form-inline' do |f|
  .search-holder
    = label_tag :search do
      %span Looking for
    .controls
      = search_field_tag :search, params[:search], placeholder: "issue 143", class: "input-xxlarge 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'