{% extends "oneevent/base.html" %} {% load crispy_forms_tags %} {% block navbar_header_text %}Registration{% endblock %} {% block heading_action %}Register{% endblock %} {% block heading_title %}{{ booking.event.title }} {{ booking.event.start|date:"D, d N Y H:i" }} {% endblock %} {% block content %}
{% if booking.person != user %}

You are editing a booking for: {{booking.person.get_full_name}}

{% endif %} {% include "oneevent/event_description_panel_part.html" with event=booking.event price=booking.must_pay only %}
Registration
{% if session_form %}

Not Confirmed/Cancelled (by {{booking.cancelledBy.get_full_name}} on {{booking.cancelledOn|date:"D, d N Y H:i"}})

{% if booking.paidTo %}

Paid to {{booking.paidTo.get_full_name}} on {{booking.datePaid|date:"D, d N Y H:i"}}

{% endif %}
{% crispy session_form %}
{% else %}

Confirmed

{% if booking.exempt_of_payment %} Exempted of payment by {{booking.paidTo.get_full_name}} on {{booking.datePaid|date:"D, d N Y H:i"}} {% elif booking.paidTo %} Paid to {{booking.paidTo.get_full_name}} on {{booking.datePaid|date:"D, d N Y H:i"}} {% elif booking.must_pay == 0 %} {% if booking.exempt_of_payment %} Exempted of payment by {{booking.paidTo.get_full_name}} on {{booking.datePaid|date:"D, d N Y H:i"}} {% else %} No payment needed {% endif %} {% else %} Please pay {{ booking.must_pay }}{% if booking.event.price_currency %}({{booking.event.price_currency}}){% endif %} to an organiser. {% endif %}

Receive Calendar Entry

{{ booking.session.get_label }}

Change Session

Unregister

{% endif %}
{% if choices_form %}
Your choices
{% crispy choices_form %}
{% endif %}
{% endblock %}