moviewyrm/fedireads/templates/editions.html
2020-05-03 18:12:40 -07:00

24 lines
770 B
HTML

{% extends 'layout.html' %}
{% load fr_display %}
{% block content %}
<div class="content-container">
<h2>Editions of <a href="/book/{{ work.id }}">"{{ work.title }}"</a></h2>
<ol class="book-grid row wrap">
{% for book in editions %}
<<<<<<< HEAD
<li class="book-preview">
<a href="{{ book.absolute_id }}">
{% include 'snippets/book_cover.html' with book=book %}
=======
<div class="book-preview">
<a href="/book/{{ book.id }}">
{% include 'snippets/book_cover.html' with book=book %}
>>>>>>> Don't use book absolute ids for nav
</a>
{% include 'snippets/shelve_button.html' with book=book %}
</li>
{% endfor %}
</ol>
</div>
{% endblock %}