{% extends 'django_forms_workflows/base.html' %} {% load crispy_forms_tags %} {% load forms_workflows_tags %} {% block title %}Approve Submission #{{ submission.id }} - {{ site_name }}{% endblock %} {% block content %}
Stage {{ current_stage_number }} of {{ total_stages }}
{% endif %} {% elif workflow_mode == "sequence" %} {# ---- sequential legacy ---- #}All groups listed below must approve this submission.
{% else %}Any one of the groups below can approve this submission.
{% endif %}Form: {{ submission.form_definition.name }}
Submitter: {{ submission.submitter.get_full_name|default:submission.submitter.username }}
Email: {{ submission.submitter.email }}
Submitted: {{ submission.submitted_at|date:"Y-m-d H:i" }}
Status: {{ submission.get_status_display }}
{% if workflow_mode == "staged" and current_stage_number and total_stages %}Current Stage: {{ current_stage_number }} of {{ total_stages }}
{% elif workflow_mode == "sequence" and current_step_number and total_steps %}Current Step: {{ current_step_number }} of {{ total_steps }}
{% endif %}| {{ key|title }} |
{% if value.url %}
{% if value.content_type and 'image' in value.content_type %}
|
|---|
| {{ field_info.field_label }} | {{ form_data|get_item:field_name }} |
|---|---|
| No fields recorded for this step. | |
This step will be available after all previous steps are approved.
| {{ key|title }} |
{% if value.url %}
{# File upload with URL - display as image or link #}
{% if value.content_type and 'image' in value.content_type %}
|
|---|