2021-03-29 17:58:35 +00:00
|
|
|
{% extends 'snippets/filters_panel/filter_field.html' %}
|
2021-05-21 01:41:36 +00:00
|
|
|
{% load i18n %}
|
2021-03-29 17:58:35 +00:00
|
|
|
|
|
|
|
{% block filter %}
|
|
|
|
<label class="label is-block" for="id_format">{% trans "Format:" %}</label>
|
|
|
|
<div class="select">
|
2021-03-29 18:16:34 +00:00
|
|
|
<select id="id_format" name="format">
|
2021-03-29 18:13:23 +00:00
|
|
|
<option value="">{% trans "Any" %}</option>
|
2021-03-29 17:58:35 +00:00
|
|
|
{% for format in formats %}{% if format %}
|
2021-03-29 18:13:23 +00:00
|
|
|
<option value="{{ format }}" {% if request.GET.format == format %}selected{% endif %}>
|
2021-05-21 01:41:36 +00:00
|
|
|
{{ format|title }}
|
2021-03-29 18:13:23 +00:00
|
|
|
</option>
|
2021-03-29 17:58:35 +00:00
|
|
|
{% endif %}{% endfor %}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|