{% extends "events/base.html" %} {% load event_tags %} {% load styled_forms %} {% load base_filters %} {% block title %}{{ block.super }}{% trans "Edit Registration" %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% firstof MODULE_EVENTS_LABEL trans 'Event' %} {% trans "Registration Edit" %}

{% trans "Event" %}: {{ reg8n.event.title }}
{% if formset_errors %}
    {% for form in formset.forms %} {{ form.non_field_errors }} {% for field in form %} {% if field.errors %}
  • {{ field.label_tag }}
  • {% endif %} {% endfor %} {% endfor %}
{% endif %}
{% csrf_token %}
{{ formset.management_form }} {% for form, registrant in formset.forms|zip:registrants %}
{% trans "Registrant" %} #{{ forloop.counter }}:
{{ form|styled_form }} {% if registrant.registration_closed and not is_admin %} {% endif %} {% if reg8n.event.nested_events_enabled and registrant.pricing and registrant.pricing.days_price_covers and not registrant.registration_closed %}
{% blocktrans with registrant.upcoming_event_days as days %} Select {{ days }} attendance date(s) {% endblocktrans %}
{% endif %} {% if reg8n.event.nested_events_enabled and registrant.child_events %}

Sub-Events

{% for event in registrant.child_events %}
{{ event.child_event.start_dt.date}}    {{ event.child_event.start_dt.time }} - {{ event.child_event.end_dt.time }}
{{ event.child_event.title }}
{% endfor %}
{% endif %}
{% endfor %}
{% if reg8n.can_admin_edit_child_events and is_admin or reg8n.can_edit_child_events%} {% endif %}
{% endblock %} {% block extra_body %} {% endblock %}