regluit/frontend/templates/workbox.html

17 lines
560 B
HTML
Raw Normal View History

2015-04-28 03:24:02 +00:00
{% load url from future %}<div class="workbox">
<a href="{% url 'work' work.id %}">{{ work.title }}</a> # {{work.id }}<br />
Language: {{ work.language }}<br />
Editions: <ol>
{% for edition in work.editions.all %}
<li>
2015-07-28 03:21:11 +00:00
<div class="editionbox">{{ edition.title }}, published by {{edition.publisher}} in {{ edition.publication_date }} with creators
{% for author in edition.authors.all %}
{{author}},
{% endfor %}
</div>
</li>
{% endfor %}
</ol>
</div>