newsletter checkboxes in suggestions and registration
[wolnelektury.git] / src / catalogue / templates / catalogue / custom_pdf_form.html
diff --git a/src/catalogue/templates/catalogue/custom_pdf_form.html b/src/catalogue/templates/catalogue/custom_pdf_form.html
new file mode 100644 (file)
index 0000000..3abc22d
--- /dev/null
@@ -0,0 +1,21 @@
+{% load i18n %}
+{% load honeypot %}
+{% load ssi_csrf_token from ssify %}
+{% load ajaxable_tags %}
+
+<h1>{% trans "Download custom PDF" %}</h1>
+
+<form id='custom-pdf-form' action="" method="post" accept-charset="utf-8" class="cuteform">
+  {% ssi_csrf_token %}
+  {% render_honeypot_field %}
+  <ol>
+    {{ form.nofootnotes|pretty_checkbox }}
+    {{ form.nothemes|pretty_checkbox }}
+    {{ form.nowlfont|pretty_checkbox }}
+    {{ form.nocover|pretty_checkbox }}
+    {{ form.leading|pretty_field }}
+    {{ form.fontsize|pretty_field }}
+
+    <li><input type="submit" value="{% trans "Download" %}"/></li>
+  </ol>
+</form>