{% extends "base.html" %} {% from "_calendar_links.html" import confirmed_dates with context %} {% block title %}{{ form.title }} · {{ appearance.name }}{% endblock %} {% block content %}

{{ form.title }}

{% if state == 'scheduled' %}

{{ _('This form opens on %(date)s.', date=form.opens_at | datetime) }}

{% else %}

{{ _('This form is completed. Answers can no longer be submitted.') }}

{% endif %} {{ confirmed_dates(confirmed or [], calendar_url or '', feed_url or '') }} {% if results_url %}

{{ _('Show results') }}

{% endif %}
{% if own %}

{{ _('Your answer') }}

{{ _('Your answer from %(date)s.', date=own.submitted_at | datetime) }}{% if own.updated_at %} {{ _('Last changed %(date)s.', date=own.updated_at | datetime) }}{% endif %}

{% for q, text, files in rows %}
{{ q.label }}
{% if files %}{% for f in files %}{{ f.name }} ({{ f.size | filesize }}){% if not loop.last %}, {% endif %}{% endfor %}{% else %}{{ text or '—' }}{% endif %}
{% endfor %}
{% endif %} {% endblock %}