summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-05-12 20:08:43 +0100
committerGitHub <noreply@github.com>2020-05-12 15:08:43 -0400
commitaa29f1c2b9150e45392c925e174af0471bf41b66 (patch)
treeff7f10d49c03e6468d876dbb950d09786424967c /templates/repo/issue
parentb00e62c12b5aca49e523f9d8c91b22fd590ce577 (diff)
downloadgitea-aa29f1c2b9150e45392c925e174af0471bf41b66.tar.gz
gitea-aa29f1c2b9150e45392c925e174af0471bf41b66.zip
Ensure search action button coalesced to adjacent input (#11385)
Fomantic-ui's action button syntax requires that the button is the next sibling of the input it is attached to and that they are both children of a div.action. Fix #11375 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/search.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/search.tmpl b/templates/repo/issue/search.tmpl
index 522bced3cf..632270da88 100644
--- a/templates/repo/issue/search.tmpl
+++ b/templates/repo/issue/search.tmpl
@@ -7,7 +7,7 @@
<input type="hidden" name="assignee" value="{{$.AssigneeID}}"/>
<div class="ui search action input">
<input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus>
+ <button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button>
</div>
- <button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button>
</div>
</form>