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}}>
|