{% extends "base_edit.html" %} {% load static webform_tags %} {% block title %}Answers to {{ webform.title }}{% endblock %} {% block extra_css %} {{ block.super }} {% endblock %} {% block content %}
{% if back_url %}

← Back

{% endif %}

{{ webform.title }}

{% include "webform/includes/editor_tabs.html" with active="answers" edit_url=edit_url %}
{{ submissions|length }} answer{{ submissions|length|pluralize }} {% if export_url and submissions %}Download answers (Excel){% endif %}
{% if submissions %}
{% for field in answer_fields %}{% endfor %} {% for key in extra_keys %}{% endfor %} {% for item in submissions %} {% for cell in item.cells %}{% endfor %} {% endfor %}
Sent{{ field.label|striptags }}{{ key }}
{{ item.submission.submitted_at|date:"j M Y, H:i" }}{% if cell.is_file %}{% if cell.file_url %}{{ cell.value }}{% else %}{{ cell.value }}{% endif %} ({{ cell.size }}){% else %}{{ cell.value|linebreaksbr }}{% endif %}
{% else %}

No answers yet.

{% endif %}
{% endblock %}