mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-26 22:27:29 +02:00
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>
14 lines
639 B
Cheetah
14 lines
639 B
Cheetah
<form class="ui form ignore-dirty">
|
|
<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>
|
|
<button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|