mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 05:07:06 +08: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}}>
|