{% extends 'base.html' %} {% load static i18n form_filters %} {% block title %}All Submissions for {{ template.name }} - ATS{% endblock %} {% block customCSS %} {% endblock %} {% block content %}
| {% trans "Submission ID" %} | {% trans "Applicant Name" %} | {% trans "Applicant Email" %} | {% trans "Submitted At" %} | {% for field in fields %}{{ field.label }} | {% endfor %}
|---|---|---|---|---|
| {{ submission.id }} | {{ submission.applicant_name|default:"N/A" }} | {{ submission.applicant_email|default:"N/A" }} | {{ submission.submitted_at|date:"M d, Y H:i" }} | {% for field in fields %} {% get_field_response_for_submission submission field as response %}
{% if response %}
{% if response.uploaded_file %}
{% elif response.value %}
{% if response.field.field_type == 'checkbox' and response.value|length > 0 %}
{% for val in response.value|to_list %}
{{ val }}
{% endfor %}
{% elif response.field.field_type == 'radio' or response.field.field_type == 'select' %}
{{ response.value }}
{% else %}
{{ response.value|linebreaksbr|truncatewords:10 }} {% endif %} {% else %} Not provided {% endif %} {% else %} Not provided {% endif %} |
{% endfor %}
{% trans "There are no submissions for this form template yet." %}
{% trans "Back to Submissions" %}