{% load i18n leprikon_tags %}
{% trans 'registration number' %}: {{ reg.variable_symbol }}
{% if reg.start_date %}
{{ reg.event_date }}
{% endif %}
{% if reg.canceled %} {% blocktrans with d=reg.canceled %}registration canceled on {{ d }}{% endblocktrans %} {% elif reg.cancelation_requested %} {% blocktrans with d=reg.cancelation_requested %}cancellation requested on {{ d }}{% endblocktrans %} {% elif reg.approved %} {% blocktrans with d=reg.approved %}registration approved on {{ d }}{% endblocktrans %} {% else %} {% trans 'awaiting approval' %} {% endif %}
{% for participant in reg.all_participants %}
{{ participant.full_name }}
{{ participant.birth_date }}
{{ participant.age_group }}
{{ participant.address }}
{% if participant.contact %}
{{ participant.contact }}
{% endif %} {% if participant.age_group.require_school %}
{{ participant.school_and_class }}
{% endif %}
{{ participant.health | linebreaks }}
{% for parent in participant.parents %}
{{ parent.full_name }}, {{ parent.address }}
{{ parent.contact }}
{% endfor %} {% for qa in participant.get_questions_and_answers %}
{{ qa.answer }}
{% endfor %} {% include 'leprikon/registration_participant_presence.html' %} {% endfor %} {% if reg.all_group_members %}
{{ reg.group.name }}
{{ reg.group.target_group }}
{{ reg.group.full_name }}
{{ reg.group.address }}
{% if reg.group.contact %}
{{ reg.group.contact }}
{% endif %} {% if reg.group.target_group.require_school %}
{{ reg.group.school_and_class }}
{% endif %}
{{ reg.group_members_list_html }}
{% endif %}
{% for agreement in reg.all_agreements %} {{ agreement.name }}:
{% for option in agreement.all_options %} {% if option.required or option in reg.all_agreement_options %}☑{% else %}☐{% endif %} {{ option.name }}
{% endfor %} {% endfor %}
{% include 'leprikon/registration_payments.html' %}