book page fix
[wolnelektury.git] / src / catalogue / templates / catalogue / custom_pdf_form.html
index ef865bc..cfebdf3 100644 (file)
@@ -7,6 +7,10 @@
 <form id='custom-pdf-form' action="" method="post" accept-charset="utf-8" class="cuteform">
   {% csrf_token %}
   {% render_honeypot_field %}
+  {% if request.EXPERIMENTS.layout.value %}
+    {{ form.as_p }}
+    <button type="submit">{% trans "Download" %}</button>
+  {% else %}
   <ol>
     {{ form.nofootnotes|pretty_checkbox }}
     {{ form.nothemes|pretty_checkbox }}
@@ -17,4 +21,5 @@
 
     <li><input type="submit" value="{% trans "Download" %}"/></li>
   </ol>
+  {% endif %}
 </form>