Fixes editions page

This commit is contained in:
Mouse Reeve 2021-05-20 18:41:36 -07:00
parent 9933b888f9
commit d39374f13c

View file

@ -1,5 +1,5 @@
{% extends 'snippets/filters_panel/filter_field.html' %} {% extends 'snippets/filters_panel/filter_field.html' %}
{% load i18n %}{% load utilities %} {% load i18n %}
{% block filter %} {% block filter %}
<label class="label is-block" for="id_format">{% trans "Format:" %}</label> <label class="label is-block" for="id_format">{% trans "Format:" %}</label>
@ -8,7 +8,7 @@
<option value="">{% trans "Any" %}</option> <option value="">{% trans "Any" %}</option>
{% for format in formats %}{% if format %} {% for format in formats %}{% if format %}
<option value="{{ format }}" {% if request.GET.format == format %}selected{% endif %}> <option value="{{ format }}" {% if request.GET.format == format %}selected{% endif %}>
{{ format|book_title }} {{ format|title }}
</option> </option>
{% endif %}{% endfor %} {% endif %}{% endfor %}
</select> </select>