forked from mirrors/bookwyrm
16 lines
547 B
HTML
16 lines
547 B
HTML
{% extends 'snippets/filters_panel/filter_field.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block filter %}
|
|
<label class="label is-block" for="id_format">{% trans "Format:" %}</label>
|
|
<div class="select">
|
|
<select id="id_format" name="format">
|
|
<option value="">{% trans "Any" %}</option>
|
|
{% for format in formats %}{% if format %}
|
|
<option value="{{ format }}" {% if request.GET.format == format %}selected{% endif %}>
|
|
{{ format|title }}
|
|
</option>
|
|
{% endif %}{% endfor %}
|
|
</select>
|
|
</div>
|
|
{% endblock %}
|