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

{% trans "Registration" %}

{{ event_price|format_currency }}
{{ event.start_dt|date:"M j, Y" }}
{% if not event.all_day %} {{ event.start_dt|date:"P" }} - {{ event.end_dt|date:"P" }}{% endif %}
{% 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 or registrant.errors or registrant.non_form_errors %}
{% trans "There were some problems in the forms. Please review. Thanks!" %}
{% 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 %}
{{ reg_form.discount.errors }}
{% trans "Discount Code" %}
{{ reg_form.discount }}
{% endif %}
{# price list #} {% for form in registrant.forms %} {% endfor %} {% for form in addon_formset.forms %} {% endfor %}
{% trans "registrant" %}#{{ forloop.counter }} {{ SITE_GLOBAL_CURRENCYSYMBOL }} {{ form.get_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.00
{% trans "Total" %}
{{ SITE_GLOBAL_CURRENCYSYMBOL }} {{ total_price|floatformat:2 }}
{# float-widow#}
{{ registrant.management_form }} {% for set in sets %}

{{ set.0.saved_data.pricing }}

{% for form in set %}
{% trans "Registrant" %} #{{ form.get_form_label }}:
{% if custom_reg_form %} {% for field in form %} {% if field.label != 'Delete' %}
{{ field.errors }}
{% trans field.label %}
{{ field }}
{% if field.help_text %}
{% blocktrans with help_text=field.help_text %}{{ help_text }}{% endblocktrans %}
{% 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.memberid %}
{{ form.memberid.errors }}
{% trans "Member ID" %}
{{ form.memberid }}
{% endif %} {% if form.pricing %}
{{ form.pricing }}
{% endif %} {% endif %}
{% endfor %}
{% endfor %}
{% if addons %}
{% include 'events/addons/formset.html' %}
{% else %} {{ addon_formset.management_form }} {% endif %}

{% blocktrans %}Choose a pricing to add another set of registrants{% endblocktrans %}:

{% for pricing in pricings %}
{{ pricing.title }} ({{ pricing.quantity }} for {{ SITE_GLOBAL_CURRENCYSYMBOL }}{{ pricing.price }})
{% empty %} {% trans 'No pricings available.' %}
{% endfor %}
{% trans 'How many?' %}
{% if addons %}
{% include 'events/addons/addon-add-box.html' %}
{% endif %}

{% trans 'Enable more pricings' %}{% if addons %} {% trans 'and addons' %}{% endif %}:

{% if allow_memberid_pricing %} {% 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 %}