{% for item in submissions %}
{{ item.form_def.name }} Saint Joseph's College of Maine
Submission #{{ item.submission.id }}
Submitted by {{ item.submission.submitter.get_full_name|default:item.submission.submitter.username }} Date {{ item.submission.submitted_at|date:"N j, Y \a\t g:i a" }}
Status {% if item.submission.status == "approved" %}{{ item.submission.get_status_display }} {% elif item.submission.status == "rejected" %}{{ item.submission.get_status_display }} {% elif item.submission.status == "submitted" %} {% else %}{{ item.submission.get_status_display }}{% endif %} Completed {% if item.submission.completed_at %}{{ item.submission.completed_at|date:"N j, Y \a\t g:i a" }}{% else %}—{% endif %}
{% for row in item.pdf_rows %} {% if row.type == 'section' %} {% elif row.type == 'pair' %} {% elif row.type == 'triple' %} {% for field in row.fields %} {% endfor %} {% else %} {% endif %} {% empty %} {% endfor %}
{{ row.label }}
{{ row.fields.0.label }} {% with v=row.fields.0.value %}{% if v.filename %}{{ v.filename }}{% if v.size %} ({{ v.size|filesizeformat }}){% endif %}{% else %}{{ v }}{% endif %}{% endwith %} {{ row.fields.1.label }} {% with v=row.fields.1.value %}{% if v.filename %}{{ v.filename }}{% if v.size %} ({{ v.size|filesizeformat }}){% endif %}{% else %}{{ v }}{% endif %}{% endwith %}
{{ field.label }} {% with v=field.value %}{% if v.filename %}{{ v.filename }}{% if v.size %} ({{ v.size|filesizeformat }}){% endif %}{% else %}{{ v }}{% endif %}{% endwith %}
{{ row.fields.0.label }} {% with v=row.fields.0.value %}{% if v.filename %}{{ v.filename }}{% if v.size %} ({{ v.size|filesizeformat }}){% endif %}{% else %}{{ v }}{% endif %}{% endwith %}
No form data available.
{% for section in item.approval_step_sections %}
{{ section.step_name }}

{% if section.completed_by %}Completed by {{ section.completed_by }}{% if section.completed_at %} · {{ section.completed_at|date:"N j, Y \a\t g:i a" }}{% endif %}{% endif %} {% if section.comments %}  Comment: {{ section.comments }}{% endif %}

{% for field in section.fields %} {% endfor %}
{{ field.label }} {% with v=field.value %}{% if v.filename %}{{ v.filename }}{% else %}{{ v }}{% endif %}{% endwith %}
{% endfor %}
{% endfor %}