BigW Consortium Gitlab

show.html.haml 661 Bytes
Newer Older
Cyril committed
1
= form_tag search_path, method: :get, class: 'form-inline' do |f|
2
  .search-holder
3
    = label_tag :search do
4
      %span Looking for
5
    .controls
6
      = search_field_tag :search, params[:search], placeholder: "issue 143", class: "input-xxlarge search-text-input", id: "dashboard_search"
7 8
      = hidden_field_tag :project_id, params[:project_id]
      = hidden_field_tag :group_id, params[:group_id]
9
      = hidden_field_tag :search_code, params[:search_code]
10
      = submit_tag 'Search', class: "btn btn-create"
11 12 13 14 15 16
      .prepend-top-10
        = render 'filter', f: f

  .results.prepend-top-10
    - if params[:search].present?
      = render 'search/result'