Merge pull request #3546 from tobiasd/20170624-search
autofocus for search input field
This commit is contained in:
commit
771d122594
|
@ -1,7 +1,7 @@
|
|||
<div id="{{$id}}" class="input-group">
|
||||
<form action="{{$action_url}}" method="get" >
|
||||
{{strip}}
|
||||
<input type="text" name="search" id="search-text" placeholder="{{$search_label}}" value="{{$s}}" />
|
||||
<input type="text" name="search" id="search-text" placeholder="{{$search_label}}" value="{{$s}}" autofocus />
|
||||
{{if $searchoption}}
|
||||
<select name="search-option" id="search-options">
|
||||
<option value="fulltext">{{$searchoption.0}}</option>
|
||||
|
|
Loading…
Reference in a new issue