forked from rc/aircox
add filters
This commit is contained in:
20
aircox/templates/admin/aircox/filters/date_filter.html
Normal file
20
aircox/templates/admin/aircox/filters/date_filter.html
Normal file
@ -0,0 +1,20 @@
|
||||
{% extends "./filter.html" %}
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
{% with choices|first as choice %}
|
||||
<form method="GET">
|
||||
<ul>
|
||||
{% for choice in choices %}
|
||||
<li>
|
||||
<label for="{{ choice.name }}">{{ choice.label }}</label>
|
||||
<input type="{{ choice.type }}" name="{{ choice.name }}"
|
||||
value="{{ choice.value }}" {{ choice.extra }} />
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div style="text-align: right;">
|
||||
<input type="submit" value="Chercher">
|
||||
</div>
|
||||
</form>
|
||||
{% endwith %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user