{% extends "touchtechnology/admin/workbook/print.html" %} {% load i18n common mathfilters %} {% block title %}{{ node|default:"Model Draw Generator" }}{% endblock %} {% block extracss %} {% endblock %} {% block content %}

{{ node|default:"Model Draw Generator" }}

{% with field_template="touchtechnology/admin/workbook/templatetags/field.html" %} {% for f in form %}{% field f %}{% endfor %} {% endwith %}
{% if data %}

{% trans "Pools" %}

{% for pool in data.pools %}

{% blocktrans with n=forloop.counter %}Pool {{ n }}{% endblocktrans %}

{% endfor %}
{% if form.get_absolute_url %}

This is an actual division, you may like to see how it was played out.

{% endif %}

{% trans "Draw formats" %}

{% for format in data.draw_formats %}

{{ format.label }}

{% if forloop.last %}{% for round in format.format %}{{ round|stringformat:"s"|linebreaksbr }}
{% endfor %}{% else %}{{ format.format|linebreaksbr }}{% endif %}

{% endfor %}
{% endif %} {% endblock %}