- {% spaceless %}
- <ol>
- {% for book in object_list %}
- <li>
- {% if user_is_owner %}
- <a href="{% url remove_from_shelf last_tag.slug book.slug %}" class="remove-from-shelf">{% trans "Delete" %}</a>
- {% endif %}
- {{ book.short_html }}</li>
- {% endfor %}
- </ol>
- {% endspaceless %}
- {% paginate %}