{% extends "cms/home.html" %} {% load cms_tags danceschool_tags sekizai_tags static i18n %} {% block content %} {% page_url 'directions' as directions_url %} {% page_url 'calendar' as calendar_url %}
{% block top %} {% static_placeholder 'registration_top' %} {% endblock %}
{% block coming_soon %} {% if not allSeries and not allEvents %}

{% trans "More Classes and Events Coming Soon!" %}

{% blocktrans %}Our upcoming classes have not yet been posted, but don't worry, they will be posted here soon! Check back soon for more information.{% endblocktrans %}

{% if calendar_url %}

{% blocktrans %}In the meantime, check out our calendar for more information about our past and current classes.

{% endblocktrans %}{% endif %} {% elif not allSeries %}

{% trans "More Classes Coming Soon!" %}

{% blocktrans %}Our upcoming classes have not yet been posted, but don't worry, they will be posted here soon! Check back soon for more information.{% endblocktrans %}

{% if calendar_url %}

{% blocktrans %}In the meantime, check out our calendar for more information about our past and current classes.

{% endblocktrans %}{% endif %} {% endif %} {% endblock %} {% if allSeries or allEvents %} {% block registration_form %}
{% csrf_token %} {{ form.voucher_id }} {% block door_reg %} {% if perms.core.accept_door_payments %} {% endif %} {% endblock %}
{{ form.non_field_errors }}
{# List of Category-separated Series #} {% block category_separate_series %} {% regroup categorySeparateSeries by category as category_separated_list %} {% for category_list in category_separated_list %} {% if "core/registration/series_category_"|add:category_list.grouper.slug|add:".html"|template_exists %} {% include "core/registration/series_category_"|add:category_list.grouper.slug|add:".html" %} {% else %} {% include "core/registration/series_category__default.html" %} {% endif %} {% endfor %} {% endblock %} {# List of Class Series with Open Registration #} {% block reg_open_series %} {% include "core/registration/reg_open_series.html" %} {% endblock %} {# List of Category-separated Public Events #} {% block category_separate_events %} {% regroup categorySeparateEvents by category as category_separated_list %} {% for category_list in category_separated_list %} {% if "core/registration/event_category_"|add:category_list.grouper.slug|add:".html"|template_exists %} {% include "core/registration/event_category_"|add:category_list.grouper.slug|add:".html" %} {% else %} {% include "core/registration/event_category__default.html" %} {% endif %} {% endfor %} {% endblock %} {# List of Upcoming Public Events with Open Registration #} {% block reg_open_events %} {% include "core/registration/reg_open_events.html" %} {% endblock %} {# List of Upcoming Public Events without/with closed Registration #} {% block reg_closed_events %} {% include "core/registration/reg_closed_events.html" %} {% endblock %} {# List of Ongoing Class Series with closed Registration #} {% block reg_closed_series %} {% include "core/registration/reg_closed_series.html" %} {% endblock %}
{% endblock %}
{% block content_js %} {% addtoblock "js" %} {% endaddtoblock %} {% addtoblock "js" %} {% endaddtoblock %} {% endblock %} {% block content_css %} {% addtoblock "css" %} {% endaddtoblock %} {% endblock %} {% endif %} {% endblock %}