{% extends 'django_forms_workflows/base.html' %} {% block title %}My Submissions - {{ site_name }}{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{# ── Page header ── #}

My Submissions

{% if active_form %} Filtered to {{ active_category.name }}{{ active_form.name }}clear form filter {% elif active_category %} Filtered to {{ active_category.name }}clear filter {% else %} {{ total_submissions_count }} submission{{ total_submissions_count|pluralize }} total {% endif %}
{# ── Category filter bar ── #} {% if category_counts %} {% endif %} {# ── Form filter bar with search (only when a category is active) ── #} {% if form_counts %} {% elif not category_counts %} {# ── Search bar when no filters exist at all ── #}
{% endif %} {# ── Bulk export form (wraps the table) ── #} {% if any_exportable %}
{% csrf_token %}
{% endif %} {# ── Submissions table — body populated via server-side AJAX ── #}
{% if any_exportable %}{% endif %} {% if not category_slug %}{% endif %} {% for field in form_fields %}{% endfor %}
ID ActionsCategoryForm Status Submitted{{ field.field_label }}
{% if any_exportable %}
{% endif %}
{% if form_fields %} {# Column picker dropdown – hidden in-place; JS moves it next to the search box #} {% endif %} {% endblock %} {% block extra_js %} {% endblock %}