forked from mirrors/bookwyrm
f8a321c74d
Good bot
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 %}
|