forked from CGM_Public/pretix_original
Set autofocus on search/filter field (#427)
This commit is contained in:
committed by
Raphael Michel
parent
babf76371e
commit
a10090b1fb
@@ -29,7 +29,7 @@
|
||||
<form class="form-inline helper-display-inline"
|
||||
action="{% url "control:event.orders.go" event=request.event.slug organizer=request.event.organizer.slug %}">
|
||||
<div class="input-group">
|
||||
<input type="text" name="code" class="form-control" placeholder="{% trans "Order code" %}">
|
||||
<input type="text" name="code" class="form-control" placeholder="{% trans "Order code" %}" autofocus>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="submit">{% trans "Go!" %}</button>
|
||||
</span>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user