mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 16:44:25 +00:00
5 lines
423 B
Handlebars
5 lines
423 B
Handlebars
|
{{/* 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" spellcheck="false" name="q" maxlength="255" placeholder="{{with .Placeholder}}{{.}}{{else}}{{ctx.Locale.Tr "search.search"}}{{end}}"{{with .Value}} value="{{.}}"{{end}}{{if .Disabled}} disabled{{end}}>
|