1
0
Fork 0

autofocus for search input field

This commit is contained in:
Tobias Diekershoff 2017-06-24 10:17:16 +02:00
parent 4ab736860c
commit e0c46678e5

View file

@ -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>