2012-08-23 17:04:43 -04:00
|
|
|
= form_tag search_path, method: :get, class: 'form-inline' do |f|
|
2013-01-25 03:07:21 -05:00
|
|
|
.search-holder
|
2012-06-03 18:37:27 -04:00
|
|
|
= label_tag :search do
|
2013-01-25 03:07:21 -05:00
|
|
|
%span Looking for
|
2013-12-30 18:27:02 -05:00
|
|
|
.col-sm-10
|
2013-12-30 19:50:36 -05:00
|
|
|
= search_field_tag :search, params[:search], placeholder: "issue 143", class: "input-lg search-text-input", id: "dashboard_search"
|
2013-05-14 13:11:48 -04:00
|
|
|
= hidden_field_tag :project_id, params[:project_id]
|
|
|
|
= hidden_field_tag :group_id, params[:group_id]
|
2013-05-09 04:27:14 -04:00
|
|
|
= hidden_field_tag :search_code, params[:search_code]
|
2013-08-15 04:51:40 -04:00
|
|
|
= submit_tag 'Search', class: "btn btn-create"
|
2013-05-09 04:46:32 -04:00
|
|
|
.prepend-top-10
|
|
|
|
= render 'filter', f: f
|
|
|
|
|
|
|
|
.results.prepend-top-10
|
|
|
|
- if params[:search].present?
|
2013-11-06 02:58:43 -05:00
|
|
|
= render 'search/results'
|