+
+ {% if book.pdf_file %}
+ <br/><a href="#" id="custom-pdf-link">{% trans "Dowload customized PDF" %}</a>.
+ {% endif %}
+ <div style="display: none" class="custom-pdf">
+ <form action="{% url catalogue.views.download_custom_pdf book.fileid %}" method="GET">
+ {{custom_pdf_form.as_p}}
+ <input type="submit" value="{% trans "Download" %}"/>
+ </form>
+ </div>