githaven-fork/templates/shared/searchinput.tmpl
2023-09-24 20:31:58 +00:00

2 lines
223 B
Handlebars

<input type="search" spellcheck="false" name="q" maxlength="255" placeholder="{{ctx.Locale.Tr "explore.search"}}…"{{if .Value}} value="{{.Value}}"{{end}}{{if .AutoFocus}} autofocus{{end}}{{if .Disabled}} disabled{{end}}>