moviewyrm/bookwyrm/templates/editions.html

19 lines
556 B
HTML
Raw Normal View History

2020-03-30 22:03:21 +00:00
{% extends 'layout.html' %}
{% load fr_display %}
{% block content %}
<div class="content-container">
2020-05-04 00:53:14 +00:00
<h2>Editions of <a href="/book/{{ work.id }}">"{{ work.title }}"</a></h2>
2020-05-03 22:46:33 +00:00
<ol class="book-grid row wrap">
2020-03-30 22:03:21 +00:00
{% for book in editions %}
2020-05-03 22:46:33 +00:00
<li class="book-preview">
2020-05-04 01:07:06 +00:00
<a href="/book/{{ book.id }}">
2020-05-04 01:15:03 +00:00
{% include 'snippets/book_cover.html' with book=book %}
2020-03-30 22:03:21 +00:00
</a>
{% include 'snippets/shelve_button.html' with book=book %}
2020-05-03 22:46:33 +00:00
</li>
2020-03-30 22:03:21 +00:00
{% endfor %}
2020-05-03 22:46:33 +00:00
</ol>
2020-03-30 22:03:21 +00:00
</div>
{% endblock %}