template_preview_form.html 334 Bytes
{% load i18n %}
<div id="preview-params">
    {{ form.as_p }}
    {% if gender_form %}{{ gender_form.as_p }}{% endif %}
    {% for attr_form in attr_forms %}
        {{ attr_form.as_p }}
    {% endfor %}
    <p>
        <button type="button" id="load-preview">{% trans 'Show' %}</button>
    </p>
</div>
<div id="preview-table"></div>