workaround for django ticket 17111; cover in api fix
[wolnelektury.git] / wolnelektury / templates / catalogue / differentiate_tags.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load catalogue_tags %}
4
5 {% block titleextra %}{% title_from_tags tags %}{% endblock %}
6
7 {% block bodyid %}differentiate_tags{% endblock %}
8
9 {% block body %}
10     <h1>{% title_from_tags tags %}</h1>
11
12         <p>{% trans "The criteria are ambiguous. Please select one of the following options:" %}</p>
13     <div id="books-list">
14         {% for option in options %}
15         <div class="book-description"
16             <p><a href="{% url tagged_object_list option.url_args %}">{% if tags %}{% title_from_tags tags %}, {% endif %}<em>{%title_from_tags option.tags %}</em>{% if unparsed %}, {{unparsed|join:', '}}{% endif %}</a></p>
17                 </div>
18         {% endfor %}
19     </div>
20 {% endblock %}