summaryrefslogtreecommitdiff
path: root/app/views/shared/milestones/_search_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/milestones/_search_form.html.haml')
-rw-r--r--app/views/shared/milestones/_search_form.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/shared/milestones/_search_form.html.haml b/app/views/shared/milestones/_search_form.html.haml
new file mode 100644
index 00000000000..403a0224a85
--- /dev/null
+++ b/app/views/shared/milestones/_search_form.html.haml
@@ -0,0 +1,8 @@
+= form_tag request.path, method: :get do |f|
+ = search_field_tag :search_title, params[:search_title],
+ placeholder: _('Filter by milestone name'),
+ class: 'form-control input-short',
+ spellcheck: false
+ = hidden_field_tag :state, params[:state]
+ = hidden_field_tag :sort, params[:sort]
+