{% extends "events/base-wide.html" %} {% load event_tags %} {% load styled_forms %} {% load base_filters %} {% block title %}{{ block.super }}{% trans "Registration" %} {{ event.title }} {{ event.start_dt|date:"M j, Y" }}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans "Registration" %}

{{ event_price|format_currency }}
{% for span in event.date_spans %} {% if span.same_date %}
{{ span.start_dt|date:"D, M. j, Y" }}
{% if not forloop.last %} and {% endif %} {% else %}
{{ span.start_dt|date:"D, M. j" }} - {{ span.end_dt|date:"D, M. j, Y" }}
{% if not forloop.last %} and {% endif %} {% endif %} {% endfor %}
{% blocktrans %} Only the first registrant information is required. The rest of the registrants can be left blank if you don't know the information. {% endblocktrans %}
{% if reg_form.errors.values or has_registrant_form_errors %}
{% endif %}
{% csrf_token %}
{{ SITE_GLOBAL_CURRENCYSYMBOL }} {{ total_price|floatformat:2 }}
{% if reg_form.amount_for_admin %}
{{ reg_form.amount_for_admin.errors }}
{% trans "Admin Override" %}
{{ reg_form.amount_for_admin }}
{% endif %} {% if reg_form.discount_code %}
{{ reg_form.discount_code.errors }}
{% trans "Discount Code" %}
{{ reg_form.discount_code }}
{% endif %}
{# price list #} {% for price_entry in price_list %} {% endfor %} {% for form in addon_formset.forms %} {% endfor %}
{% trans "registrant" %}#{{ forloop.counter }} {{ SITE_GLOBAL_CURRENCYSYMBOL }} {{ price_entry.price|floatformat:2 }}
{% trans "addon" %}#{{ forloop.counter }} {{ SITE_GLOBAL_CURRENCYSYMBOL }} {{ form.chosen_addon.price|floatformat:2 }}
{% trans "Total" %}
{{ SITE_GLOBAL_CURRENCYSYMBOL }} {{ total_price|floatformat:2 }}
{% trans "Discount" %}
- {{ SITE_GLOBAL_CURRENCYSYMBOL }} 0
{% trans "Total" %}
{{ SITE_GLOBAL_CURRENCYSYMBOL }} {{ total_price|floatformat:2 }}
{# float-widow#}
{{ registrant.management_form }} {% for form in registrant.forms %} {% with forloop.counter as forloop_counter %}
{% trans "Registrant" %} #{{ forloop_counter }}:
{% if custom_reg_form %} {% for field in form %} {% if field.label != 'Delete' %}
{{ field.errors }}
{% trans field.label %}
{{ field }}
{% if field.help_text %}
{{ field.help_text }}
{% endif %}
{% endif %} {% endfor %} {% else %} {% if form.first_name %}
{{ form.first_name.errors }}
{% trans "First Name" %}
{{ form.first_name }}
{% endif %} {% if form.last_name %}
{{ form.last_name.errors }}
{% trans "Last Name" %}
{{ form.last_name }}
{% endif %} {% if form.company_name %}
{{ form.company_name.errors }}
{% trans "Company" %}
{{ form.company_name }}
{% endif %} {% if form.phone %}
{{ form.phone.errors }}
{% trans "Phone" %}
{{ form.phone }}
{% endif %} {% if form.email %}
{{ form.email.errors }}
{% trans "Email" %}
{{ form.email }}
{% endif %} {% if form.comments %}
{{ form.comments.errors }}
{% trans "Comments" %}
{{ form.comments }}
{% endif %} {% endif %} {% if form.DELETE %} {% if price.quantity == 1 %}
{% endif %} {% endif %}
{% endwith %} {% endfor %}
{% if addons %}
{% include 'events/addons/formset.html' %}
{% else %} {{ addon_formset.management_form }} {% endif %}
{% if price.quantity == 1 %}
{% blocktrans %} Add additional registrant(s). Click to Add More registrants. {% endblocktrans %}
{% else %} {% blocktrans with price.quantity as quant %}Add another set of {{ quant }} additional registrants{% endblocktrans %} {% endif %}
{% if addons %}
{% include 'events/addons/addon-add-box.html' %}
{% endif %}
{% if reg_form.free_event %} {{ reg_form.payment_method }} {% else %}
{{ reg_form.payment_method.errors }}
{% trans "Payment Method" %}
{{ reg_form.payment_method }}
{% endif %} {% if reg_form.captcha %}
{{ reg_form.captcha.errors }}
{% trans "Type the Code Below" %}
{{ reg_form.captcha }}
{% endif %}
{% include 'events/registration/base_forms.html' %}
{% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}