{% extends "usta/base.html" %} {% load staticfiles %} {% block title %}{{ block.super }} | Players{% endblock %} {% block main %}
{% if form.errors %} {% endif %}
{% csrf_token %}
{{ form.year.label_tag }} {{ form.year }}
{{ form.state.label_tag }} {{ form.state }}
{{ form.div16 }} {{ form.div16.label_tag }}
{{ form.div18 }} {{ form.div18.label_tag }}
{{ form.seeds }} {{ form.seeds.label_tag }}
{% if not players and not seeds %}

No players were found.

{% elif seeds %}

Singles

Division 16

    {% include 'usta/player_list_seed_li.html' with seeds=seeds.0.0 singles=1 %}

Division 18

    {% include 'usta/player_list_seed_li.html' with seeds=seeds.0.1 singles=1 %}

Doubles

Division 16

    {% include 'usta/player_list_seed_li.html' with seeds=seeds.1.0 %}

Division 18

    {% include 'usta/player_list_seed_li.html' with seeds=seeds.1.1 %}
{% else %}

All Players

{% endif %}
{% endblock %}