mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-24 07:41:38 +00:00
Fix #277 : autoselect search field Fix #1107: no spell checking/auto-correct on search field
10 lines
395 B
Plaintext
10 lines
395 B
Plaintext
<form class="pure-form" action="/search" method="get">
|
|
<fieldset>
|
|
<input type="search" id="searchbox" autocomplete="off" autocorrect="off"
|
|
autocapitalize="none" spellcheck="false" autofocus name="q"
|
|
placeholder="<%= translate(locale, "search") %>"
|
|
title="<%= translate(locale, "search") %>"
|
|
value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
|
</fieldset>
|
|
</form>
|