Fix the search box
Fix #277 : autoselect search field Fix #1107: no spell checking/auto-correct on search fieldpull/2719/head
parent
4f219362fe
commit
68cbc11810
@ -0,0 +1,9 @@
|
|||||||
|
<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>
|
Loading…
Reference in New Issue