{% extends 'django_forms_workflows/base.html' %} {% block title %}Batch Import Results – {{ form_def.name }}{% endblock %} {% block content %}

Batch Import Results

{{ form_def.name }}
{# ── Summary strip ── #}
{{ total_count }}
Rows Processed
{{ success_count }}
Submitted Successfully
{{ error_count }}
Rows with Errors
{% if success_count %}
{{ success_count }} row{{ success_count|pluralize }} submitted successfully and will proceed through the normal approval workflow.
{% endif %} {% if error_count %}
{{ error_count }} row{{ error_count|pluralize }} could not be submitted due to validation errors listed below. Correct the highlighted cells in your file and re-upload.
Rows Requiring Correction
{% for result in results %} {% if result.status == "error" %} {% for err in result.errors %} {% if forloop.first %} {% endif %} {% endfor %} {% endif %} {% endfor %}
Row # Column Validation Error
{{ result.row }} {{ err.column }} {{ err.field_name }} {{ err.message }}
{% endif %} {% if success_count %}
Successfully Submitted Rows
{% for result in results %} {% if result.status == "success" %} {% endif %} {% endfor %}
Row # Submission ID Action
{{ result.row }} #{{ result.submission_id }} View
{% endif %}
{% endblock %}