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

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