0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-26 15:52:49 +01:00
gitea/templates/shared/search/input.tmpl

5 lines
423 B
Handlebars
Raw Normal View History

{{/* Value - value of the search field (for search results page) */}}
{{/* Disabled (optional) - if search field has to be disabled */}}
{{/* Placeholder (optional) - placeholder text to be used */}}
<input type="search" name="q"{{with .Value}} value="{{.}}"{{end}} maxlength="255" spellcheck="false" placeholder="{{with .Placeholder}}{{.}}{{else}}{{ctx.Locale.Tr "search.search"}}{{end}}"{{if .Disabled}} disabled{{end}}>