{% extends "tournamentcontrol/competition/season.html" %} {% load i18n tz %} {% load common %} {% block content %}

{% trans "Progress Teams" %} {{ division.title }}

{% csrf_token %} {{ formset.management_form }} {% for form in formset.forms %} {% with form.instance as match %} {% with match.get_home_team.title|default:match.get_home_team_plain as home_team %} {% endwith %} {% with match.get_away_team.title|default:match.get_away_team_plain as away_team %} {% endwith %} {% endwith %} {% empty %} {% endfor %}
{% trans "Match" %} {% trans "Home team" %} {% trans "Away team" %}
{% if match.label %}{{ match.label }}{% else %}{% blocktrans with num=match.round %}Round {{ num }}{% endblocktrans %}{% endif %}{% if form.home_team %}{{ match.get_home_team.title }}
{{ form.home_team }}{% else %}{{ match.get_home_team.title }}{% endif %}
{% if form.away_team %}{{ match.get_away_team.title }}
{{ form.away_team }}{% else %}{{ match.get_away_team.title }}{% endif %}
{% trans "There are no matches that require progression." %}
{% trans "Cancel" %}
{% endblock %}