{% extends "base.html" %} {% load add_field_css i18n %} {% block head-title %}🏆{% trans "Create New Tournament"%}{% endblock %} {% block page-title %}{% trans "TAB DEBAT MALAYSIA" %}{% endblock %} {% block sidebar %}{% endblock %} {# Need to override sidebar manually it will crash when no tournaments are present. Ideally this would be handled with the Mixins but this is a relatively unique view as it is part of Tournaments but is admin-only and thus shown with the sidebar #} {% block page-alerts %} {% include 'errors/database_limit_warning.html' %} {% endblock %} {% block content %} {% if wizard.steps.current == 'basics' %}
{% trans "Just trying out TAB DEBAT MALAYSIA?" %} {% blocktrans trimmed %} If you're learning or playing around with TAB DEBAT MALAYSIA, it's easiest to create a demo tournament that is prepopulated with a fake (but typical) set of teams, adjudicators, rooms, and the like. You can then delete this demo tournament later on, or deploy a new instance for your real tournament. {% endblocktrans %}
{% for slug, demo in demo_datasets %}
{% csrf_token %}
{% if slug in preexisting %}
{% blocktrans trimmed %} You already have a tournament set up using this data set. Reloading the data will delete all data from that tournament. {% endblocktrans %}
{% endif %}
{% endfor %}
{% endif %}
{% csrf_token %} {{ wizard.form.media }} {{ wizard.management_form }} {% if wizard.steps.current == 'basics' %}
{% blocktrans trimmed with step=wizard.steps.step1 total=wizard.steps.count %} Step {{ step }} of {{ total }}: tournament details {% endblocktrans %}
{% elif wizard.steps.current == 'configure' %}
{% blocktrans trimmed with step=wizard.steps.step1 total=wizard.steps.count %} Step {{ step }} of {{ total }}: format and draw options {% endblocktrans %}
{% elif wizard.steps.current == 'rr_setup' %}
{% blocktrans trimmed with step=wizard.steps.step1 total=wizard.steps.count %} Step {{ step }} of {{ total }}: round robin preliminary setup {% endblocktrans %}
{% endif %} {% include "components/form-main.html" with form=wizard.form %} {% if wizard.steps.next %} {% trans "Continue" context "button" as title %} {% else %} {% trans "Create tournament" as title %} {% endif %} {% trans "Cancel and go back to the site home page" as subtitle %} {% url 'tabbycat-index' as suburl %} {% include "components/form-submit.html" %}
{% endblock %}