2012-10-02 19:42:15 +02:00
|
|
|
= form_tag search_group_path(@group), method: :get, class: 'form-inline' do |f|
|
|
|
|
.padded
|
|
|
|
= label_tag :search do
|
|
|
|
%strong Looking for
|
|
|
|
.input
|
|
|
|
= 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"
|
2012-10-02 19:42:15 +02:00
|
|
|
- if params[:search].present?
|
2013-01-07 19:48:57 +01:00
|
|
|
= render 'search/result'
|