{% extends 'django_forms_workflows/base.html' %} {% load crispy_forms_tags %} {% load static %} {% block title %}{{ form_def.name }} - {{ site_name }}{% endblock %} {% block content %}

{{ form_def.name }}

{% if is_draft %} Draft {% endif %}
{% if form_def.instructions %}
Helpful Info {{ form_def.instructions|safe }}
{% endif %} {% if form.errors %} {% endif %}
{% crispy form %}
{% if form_def.allow_batch_import %} {# ── Batch Import Panel ─────────────────────────────────────────────── #}
Batch Import via Excel

Need to submit multiple entries at once? Download the Excel template, fill in your data row by row, then upload it here. Each row will be validated with the same rules as the individual form.

{# Step 1 – Download template #}
Step 1 — Download the template

The template is generated from the current form fields. Red columns are required; blue columns are optional. See the Instructions and Choices Reference sheets inside the workbook for guidance.

Download Excel Template
{# Step 2 – Fill and upload #}
Step 2 — Upload your completed file

Only .xlsx files are accepted. Rows that pass validation will be submitted immediately. Rows with errors will be listed so you can correct and re-upload.

{% csrf_token %}
{% endif %}
Back to Forms {% if is_draft and draft_id %} Discard Draft {% endif %}
{% endblock %} {% block extra_js %} {% endblock %}