From: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Date: Mon, 2 Apr 2012 10:15:25 +0000 (+0200)
Subject: book text template fix
X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/4af4ef861ca5d4f1684fa0f36a91c2632bbff1bc?ds=inline;hp=-c

book text template fix
---

4af4ef861ca5d4f1684fa0f36a91c2632bbff1bc
diff --git a/apps/catalogue/templates/catalogue/book_text.html b/apps/catalogue/templates/catalogue/book_text.html
index 62b7511f6..027a75807 100644
--- a/apps/catalogue/templates/catalogue/book_text.html
+++ b/apps/catalogue/templates/catalogue/book_text.html
@@ -43,7 +43,7 @@
             {% 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">