autofocus on all themes

This commit is contained in:
tcit 2014-10-04 18:51:43 +02:00
parent f183f72bf4
commit 1cd02d55fb
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<div id="search-form" class="messages info">
<form method="get" action="index.php">
<input type="hidden" name="view" value="search"></input>
<label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input required placeholder="{% trans "something to search" %}" type="text" name="search" id="searchfield" />
<label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input required placeholder="{% trans "Enter your search here" %}" type="text" name="search" id="searchfield" />
<input id="submit-search" type="submit" value="{% trans "Search" %} !"></input>
</form>
</div>

View file

@ -2,7 +2,7 @@
<form method="get" action="index.php">
<p>
<input type="hidden" name="view" value="search"></input>
<label>{% trans "Search" %}</label> : <input type="text" placeholder="{% trans "Enter your search here" %}" name="search" />
<label>{% trans "Search" %}</label> : <input type="text" required placeholder="{% trans "Enter your search here" %}" name="search" id="searchfield" />
<input type="submit" value="{% trans "Search" %} !"></input>
</p>
</form>