2012-08-23 23:04:43 +02:00
|
|
|
= form_tag search_path, method: :get, class: 'form-inline' do |f|
|
2013-01-25 09:07:21 +01:00
|
|
|
.search-holder
|
2012-06-04 00:37:27 +02:00
|
|
|
= label_tag :search do
|
2013-01-25 09:07:21 +01:00
|
|
|
%span Looking for
|
2012-03-16 00:14:39 +01:00
|
|
|
.input
|
2012-09-19 08:14:07 +02:00
|
|
|
= search_field_tag :search, params[:search], placeholder: "issue 143", class: "input-xxlarge search-text-input", id: "dashboard_search"
|
2013-01-29 21:18:19 +01:00
|
|
|
= submit_tag 'Search', class: "btn btn-primary wide"
|
2013-01-25 09:07:21 +01:00
|
|
|
.clearfix
|
|
|
|
.row
|
|
|
|
.span3
|
|
|
|
= render 'filter', f: f
|
|
|
|
.span9
|
|
|
|
.results
|
|
|
|
- if params[:search].present?
|
|
|
|
= render 'search/result'
|