{% 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 %}
+ {% 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 }}
<li><input type="submit" value="{% trans "Download" %}"/></li>
</ol>
+ {% endif %}
</form>