{% load static %}
{% csrf_token %} {{ formset.management_form }}
{% for form in formset %} {{ form.id }}
{% endfor %}
{% trans "Visual Schedule" %} - {{ date|date }} - {{ season.title }}
{% trans "Preview" %}
{% for schedule_date in dates %}
{{ schedule_date|date:"l, F j, Y" }}
{% endfor %}
{% trans "Save" %}
{% trans "Cancel" %}
{% trans "Close" %}
{% if messages %}
{% for message in messages %}
{{ message }}
×
{% endfor %}
{% endif %}
{% for division, stages in matches_hierarchy.items %}
▼
▶
{{ division.title }}
{% for stage, stage_matches in stages.items %}
▼
▶
{{ stage.title }} ({{ stage_matches|length }})
{% for match in stage_matches %}
{{ match.get_home_team.title }} vs {{ match.get_away_team.title }}
{% if match.label %} {% trans match.label %} {% else %} {% if not match.is_final %} {% with num=match.round %}Round {{ num }}{% endwith %} {% endif %} {% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% for place in places %}
{{ place.abbreviation|default:place.title }}
{% endfor %}