{% extends "touchtechnology/admin/edit.html" %} {% load i18n %} {% block content %}

{% trans "Wet weather" %}

{% csrf_token %} {{ formset.management_form }} {% regroup formset.forms by instance.stage.division as grouped %}

{% blocktrans %}Mark all matches that have been cancelled due to ground closures.{% endblocktrans %}

{% for group in grouped %}
{{ group.grouper }} {% for form in group.list %} {% with match=form.instance %} {% with home=match.get_home_team away=match.get_away_team %}
{{ form.id }}
{{ form.is_washout }}
{% endwith %} {% endwith %} {% endfor %}
{% endfor %}
 {% trans "Cancel" %}
{% endblock %}