summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/search.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/search.tmpl')
-rw-r--r--templates/repo/issue/search.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/repo/issue/search.tmpl b/templates/repo/issue/search.tmpl
new file mode 100644
index 0000000000..5e0f9a562d
--- /dev/null
+++ b/templates/repo/issue/search.tmpl
@@ -0,0 +1,13 @@
+<form class="ui form">
+ <div class="ui fluid action input">
+ <input type="hidden" name="type" value="{{$.ViewType}}"/>
+ <input type="hidden" name="state" value="{{$.State}}"/>
+ <input type="hidden" name="labels" value="{{.SelectLabels}}"/>
+ <input type="hidden" name="milestone" value="{{$.MilestoneID}}"/>
+ <input type="hidden" name="assignee" value="{{$.AssigneeID}}"/>
+ <div class="ui search action input">
+ <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus>
+ </div>
+ <button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button>
+ </div>
+</form>