2012-10-11 21:41:49 +00:00
|
|
|
.search
|
2012-11-20 21:05:15 +00:00
|
|
|
= form_tag search_path, method: :get, class: 'navbar-form pull-left' do |f|
|
2012-10-11 21:41:49 +00:00
|
|
|
= text_field_tag "search", nil, placeholder: "Search", class: "search-input"
|
2013-01-25 08:07:21 +00:00
|
|
|
= hidden_field_tag :group_id, @group.try(:id)
|
|
|
|
= hidden_field_tag :project_id, @project.try(:id)
|
2013-05-09 08:27:14 +00:00
|
|
|
= hidden_field_tag :repository_ref, @ref
|
|
|
|
= submit_tag 'Go' if ENV['RAILS_ENV'] == 'test'
|
|
|
|
.search-autocomplete-json.hide{:'data-autocomplete-opts' => search_autocomplete_source }
|