show.html.haml 565 Bytes
Newer Older
Cyril's avatar
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
    .input
6
      = search_field_tag :search, params[:search], placeholder: "issue 143", class: "input-xxlarge search-text-input", id: "dashboard_search"
7
      = hidden_field_tag :search_code, params[:search_code]
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
8
      = submit_tag 'Search', class: "btn btn-primary wide"
9 10 11 12 13 14 15 16
  .clearfix
  .row
    .span3
      = render 'filter', f: f
    .span9
      .results
        - if params[:search].present?
          = render 'search/result'