|
|
@ -1,8 +1,8 @@
|
|
|
|
<form class="pure-form" action="/search" method="get">
|
|
|
|
<form class="pure-form" action="/search" method="get">
|
|
|
|
<fieldset>
|
|
|
|
<fieldset>
|
|
|
|
<input type="search" id="searchbox" autocomplete="off" autocorrect="off"
|
|
|
|
<input type="search" id="searchbox" autocomplete="off" autocorrect="off"
|
|
|
|
autocapitalize="none" spellcheck="false" autofocus name="q"
|
|
|
|
autocapitalize="none" spellcheck="false" <% if autofocus %>autofocus<% end %>
|
|
|
|
placeholder="<%= translate(locale, "search") %>"
|
|
|
|
name="q" placeholder="<%= translate(locale, "search") %>"
|
|
|
|
title="<%= translate(locale, "search") %>"
|
|
|
|
title="<%= translate(locale, "search") %>"
|
|
|
|
value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
|
|
|
value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
|
|
|
</fieldset>
|
|
|
|
</fieldset>
|
|
|
|