summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/_search_form.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-25 15:10:21 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-25 15:11:22 +0200
commit60baa1e866013d66d25531e5f8a8f62ec49b228b (patch)
treec7d87647df1fb800501e833ef7b780c6c037a6bf /app/views/shared/issuable/_search_form.html.haml
parent6288677134d0e6d1f805748bc557091ad4747bd9 (diff)
downloadgitlab-ce-60baa1e866013d66d25531e5f8a8f62ec49b228b.tar.gz
Move issuable partials in common directory
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/shared/issuable/_search_form.html.haml')
-rw-r--r--app/views/shared/issuable/_search_form.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_search_form.html.haml b/app/views/shared/issuable/_search_form.html.haml
new file mode 100644
index 00000000000..58c3de64b77
--- /dev/null
+++ b/app/views/shared/issuable/_search_form.html.haml
@@ -0,0 +1,9 @@
+= form_tag(path, method: :get, id: "issue_search_form", class: 'pull-left issue-search-form') do
+ .append-right-10.hidden-xs.hidden-sm
+ = search_field_tag :issue_search, params[:issue_search], { placeholder: 'Filter by title or description', class: 'form-control issue_search search-text-input' }
+ = hidden_field_tag :state, params['state']
+ = hidden_field_tag :scope, params['scope']
+ = hidden_field_tag :assignee_id, params['assignee_id']
+ = hidden_field_tag :author_id, params['author_id']
+ = hidden_field_tag :milestone_id, params['milestone_id']
+ = hidden_field_tag :label_id, params['label_id']