{% extends "base.html" %} {% from "_fill_fields.html" import question_block, group_block, cond_attr with context %} {% from "_comments.html" import comment_section with context %} {% block title %}{{ form.title }} ยท {{ appearance.name }}{% endblock %} {% block scripts %}{% endblock %} {% block content %}
{% if preview %}

{{ _('Preview: answers are not saved.') }}{% if not frame %} {{ _('Back to the form') }}{% endif %}

{% endif %} {% if manager_edit %}

{% if participant %}{{ _('You are changing the answer of %(name)s as a manager.', name=participant) }}{% else %}{{ _('You are changing this answer as a manager.') }}{% endif %} {{ _('Please describe in the note at the end why you change it.') }} {{ _('Cancel') }}

{% endif %}

{{ form.title }}

{% if form.description %}
{{ form.description }}
{% endif %} {% if form.anonymous %}

{{ _('This form is anonymous: your answers are stored without reference to you.') }}

{% endif %} {% if results_url and not edit %}

{{ _('Show results') }}

{% endif %} {% if form.slot_names in ('full', 'short') and not form.anonymous and form.questions | selectattr('type', 'equalto', 'slots') | list %}

{% if form.slot_names == 'short' %}{{ _('For the entries, everyone who opens this form sees who has already signed up: first name and the initial of the last name.') }}{% else %}{{ _('For the entries, everyone who opens this form sees who has already signed up, with first and last name.') }}{% endif %}

{% endif %} {% if errors or consent_error or guest_email_error %} {% endif %} {% if followup_missing %} {% endif %}
{{ csrf_field(request) }} {% if followup_missing %}{% endif %} {% for page in pages %}
{% if page['break'] %}{{ question_block(page['break'], values, errors, errors_text, media_base, embed_policy, files, accept_for, places, own_status) }}{% endif %} {% for section in page.sections %}
{% if section.heading %}{{ question_block(section.heading, values, errors, errors_text, media_base, embed_policy, files, accept_for, places, own_status) }}{% endif %} {% for q in section['items'] %}
{% if q.type == 'question_group' %} {{ group_block(q, group_members.get(q.id) or [], values, errors, errors_text, places, own_status) }} {% else %} {{ question_block(q, values, errors, errors_text, media_base, embed_policy, files, accept_for, places, own_status) }} {% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% if form.privacy_notice %}

{{ _('Privacy') }}

{{ form.privacy_notice }}
{% endif %} {% set guest_mode = form.guest_email if (not user and not form.anonymous and not edit) else 'none' %} {% set followup_hint = followups_planned is defined and followups_planned and not preview %} {% if guest_mode == 'question' and form.questions | selectattr('type', 'in', ['email', 'participant_name']) | list %}

{{ _('We send a confirmation with your personal link to the email address you entered above. With it you can view or change your answer.') }}

{% if followup_hint %}

{{ _('After you submit the form, the organisers plan to send you further information by email. You only receive it if you enter your email address and confirm it with the link in the confirmation email.') }}

{% endif %} {% endif %} {% if guest_mode in ('optional', 'required') %}
{% if guest_email_error %}

{{ _(errors_text[guest_email_error]) }}

{% endif %}

{{ _('You get a confirmation with your personal link to view or change your answer. The organisers do not see this address; if they need your contact details, the form asks for them separately.') }}

{% if followup_hint %}

{{ _('After you submit the form, the organisers plan to send you further information by email. You only receive it if you enter your email address and confirm it with the link in the confirmation email.') }}

{% endif %}
{% endif %} {% if form.require_consent and not edit %} {% endif %} {% if manager_edit %}
{% if note_error %}

{{ _(note_error) }}

{% endif %}

{{ _('Why do you change this answer, and at whose request? The note and the changed questions are kept with the answer. Managers see them; the person receives them with a data export.') }}

{% endif %} {% if preview %} {% elif edit %} {% else %} {% endif %}
{% if comments_enabled and not preview %}{{ comment_section(form, comment_list, comment_back, comment_guest, comment_error) }}{% endif %} {% endblock %}