Add autocomplete search to "add payment" and add search bar to table views
This commit is contained in:
@@ -21,6 +21,23 @@
|
||||
<span>{% trans "Members in register:" %} {{ member_count }}</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<form class="input-group" method="GET" action="/members/list">
|
||||
<input class="form-control" type="text" name="q" placeholder="Teemu Teekkari" />
|
||||
<span class="input-group-btn">
|
||||
<input type="submit" class="btn" value="{% trans "Search" %}" />
|
||||
</span>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% if request.GET.q %}
|
||||
<div>
|
||||
<div class="alert alert-info" role="alert">
|
||||
{% trans "Showing results for" %} "{{ request.GET.q }}"
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{{ table|safe }}
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user