debian-mirror-gitlab/app/views/ci/projects/_search.html.haml
2015-09-25 12:07:36 +05:30

11 lines
415 B
Text

.search
= form_tag "#", method: :get, class: 'ci-search-form' do |f|
.input-group
= search_field_tag "search", params[:search], placeholder: "Search", class: "search-input form-control"
.input-group-addon
%i.fa.fa-search
:coffeescript
$('.ci-search-form').submit ->
CiPager.init "#{ci_projects_path}" + "?search=" + query, #{Ci::ProjectsController::PROJECTS_BATCH}, false
false