Set autofocus on search/filter field (#427)

This commit is contained in:
Tobias Kunze
2017-03-06 14:19:14 +01:00
committed by Raphael Michel
parent babf76371e
commit a10090b1fb
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
<form class="form-inline helper-display-inline" action="" method="get">
<p>
<input type="text" name="search" class="form-control" placeholder="{% trans "Search voucher" %}"
value="{{ request.GET.search }}">
value="{{ request.GET.search }}" autofocus>
<input type="text" name="tag" class="form-control" placeholder="{% trans "Filter by tag" %}"
value="{{ request.GET.tag }}">
<select name="status" class="form-control">