Renamed module catalogue.templatetags.catalogue to catalogue.templatetags.catalogue_tags.
[wolnelektury.git] / templates / catalogue / tagged_book_list.html
index e043101..695a492 100644 (file)
@@ -1,5 +1,5 @@
 {% extends "base.html" %}
-{% load catalogue pagination_tags %}
+{% load catalogue_tags pagination_tags %}
 
 {% block title %}{% title_from_tags tags %} w WolneLektury.pl{% endblock %}
 
@@ -8,8 +8,6 @@
 {% block extrahead %}
     <script type="text/javascript">
         $(function() {            
-            $('#id_q').labelify({labelledClass: 'blur'});
-            
             // $('#tags-list ul').addClass('dontsplit');
             // $('#tags-list').columnize({width: 180});
             
@@ -65,7 +63,7 @@
         </ol>
     </form>
     
-    {% autopaginate books 10 %}
+    {% autopaginate object_list 10 %}
     <div id="books-list">
         {% with tags|last as last_tag %}
         {% if last_tag.has_description %}
@@ -76,7 +74,7 @@
         {% endif %}
         {% endwith %}
         <ol>
-        {% for book in books %}
+        {% for book in object_list %}
             <li>{% include "catalogue/_book.html" %}</li>
         {% endfor %}
         </ol>