Housekeeping: removed celery dependency and some unused code.
[redakcja.git] / src / catalogue / templates / catalogue / book_list / book.html
index f6a0fcd..c47e2bc 100755 (executable)
@@ -2,7 +2,7 @@
 {% load username from common_tags %}
 
 {% if book.single %}
-    {% with book.0 as chunk %}
+    {% with chunk as chunk %}
     <tr>
         <td><input type="checkbox" name="select_book" value="{{book.id}}" data-chunk-id="{{chunk.id}}"/></td>
         <td><a href="{% url 'catalogue_book' book.slug %}" title='{% trans "Book settings" %}'>[B]</a></td>