+ {% if view.get_orderings %}
+ <div class="l-books__sorting">
+ <span>{% trans 'Sortuj:' %}</span>
+ <div>
+ {% for ordering in view.get_orderings %}
+ <button
+ {% if ordering.default %}
+ data-order="-"
+ {% else %}
+ data-order="{{ ordering.slug }}"
+ {% endif %}
+ {% if ordering.active %}
+ class="is-active"
+ {% endif %}
+ >{{ ordering.name }}</button>
+ {% endfor %}
+ <select name="sorting">
+ {% for ordering in view.get_orderings %}
+ <option
+ {% if ordering.default %}
+ value="-"
+ {% else %}
+ value="{{ ordering.slug }}"
+ {% endif %}
+ {% if ordering.active %}
+ selected="selected"
+ {% endif %}
+ >{{ ordering.name }}</option>
+ {% endfor %}
+ </select>
+ </div>
+ </div>
+ {% endif %}
+ </div>
+ </div>
+ <div class="l-section">
+ <div class="with-filter">
+ <div class="row">
+ <h2 class="header">{% nice_title_from_tags tags suggested_tags_by_category %}</h2>
+ {% if suggested_tags %}
+ <div class="filter-container">
+ {% for tag in suggested_tags %}
+ <span class="filter filter-category-{{ tag.category }}">
+ <a href="{% catalogue_url view.list_type tags tag %}">{{ tag }}</a>
+ </span>
+ {% endfor %}
+ </div>
+ {% endif %}