forked from rc/aircox
fix date lookup filters
This commit is contained in:
@ -10,9 +10,9 @@
|
||||
onsubmit="return this.{{ choice.name }}.value ? true : false"">
|
||||
<label for="filter-{{ choice.name }}">{{ choice.label }}: </label>
|
||||
<input id="filter-{{ choice.name }}" type="{{ choice.type }}" name="{{ choice.name }}"
|
||||
value="{{ choice.value }}" {{ choice.extra }} />
|
||||
value="{{ choice.value }}" {{ choice.extra }}/>
|
||||
{% for k, v in choice.query_attrs.items %}
|
||||
<input type="hidden" name="{{k}}" value="{{v}}" />
|
||||
<input type="hidden" name="{{k}}" value="{{v}}"/>
|
||||
{% endfor %}
|
||||
<button class="button"><img src="{% static "admin/img/search.svg" %}" /></button>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user