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"> <div id="search-form" class="messages info">
<form method="get" action="index.php"> <form method="get" action="index.php">
<input type="hidden" name="view" value="search"></input> <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> <input id="submit-search" type="submit" value="{% trans "Search" %} !"></input>
</form> </form>
</div> </div>

View file

@ -2,7 +2,7 @@
<form method="get" action="index.php"> <form method="get" action="index.php">
<p> <p>
<input type="hidden" name="view" value="search"></input> <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> <input type="submit" value="{% trans "Search" %} !"></input>
</p> </p>
</form> </form>