1
0
Fork 0

Merge pull request #3546 from tobiasd/20170624-search

autofocus for search input field
This commit is contained in:
Michael Vogel 2017-06-24 22:46:39 +02:00 committed by GitHub
commit 771d122594

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>