mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 03:52:06 +01: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}}>
|