mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:49:22 +00:00
5 lines
423 B
Go HTML Template
5 lines
423 B
Go HTML Template
|
{{/* 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}}>
|