mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 07:04:25 +00:00
859094ef0a
Various pages like the issue list autofocus their search box which I find rather intrusive because more often than not I don't want to type into the search box, it's distracting if the focus jumps after page load. Disable this behaviour. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
12 lines
586 B
Handlebars
12 lines
586 B
Handlebars
<form class="ui form ignore-dirty">
|
|
<div class="ui search 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}}"/>
|
|
<input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}...">
|
|
<button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button>
|
|
</div>
|
|
</form>
|