book text template fix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 2 Apr 2012 10:15:25 +0000 (12:15 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 2 Apr 2012 10:15:25 +0000 (12:15 +0200)
apps/catalogue/templates/catalogue/book_text.html

index 62b7511..027a758 100644 (file)
@@ -43,7 +43,7 @@
             {% if  book.txt_file %}
             <li><a href="{{ book.txt_file.url}}">TXT</a> {% trans "for advanced usage" %}</li>
             {% endif %}
             {% if  book.txt_file %}
             <li><a href="{{ book.txt_file.url}}">TXT</a> {% trans "for advanced usage" %}</li>
             {% endif %}
-            <li><a href="{% url custom_pdf_form %}?slug={{ book.slug }}">{% trans "Download a custom PDF" %}</a></li>
+            <li><a href="{% url custom_pdf_form book.slug %}">{% trans "Download a custom PDF" %}</a></li>
             </ul>
         </div>
         <div id="header">
             </ul>
         </div>
         <div id="header">