{% extends "base.html" %} {% block page_title %}.: Attendance :.{% endblock %} {% block title %}Attendance{% endblock %} {% block content %}
{% if club %}

{{ club.name }} - Groupe {{ group.name }}

{{ monthName|title }} {{ selectedYear }} ({% for day in courseDays %}{% if forloop.last %}{{ day }}{% else %}{{ day }}, {% endif %}{% endfor %}) {% for trainer in trainers %}{% if forloop.last %}{{ trainer }}{% else %}{{ trainer }}, {% endif %}{% endfor %}

{% for day in dayList %}{% endfor %} {% for gymnast, box in attendances.items %} {% for res in box %} {% endfor %} {% endfor %} {% for day in dayList %} {% endfor %}
 {{ day.0 }}
{{ gymnast }}
  {% if day.0 <= today and day.0 >= ToYesterday and selectedMonth == tomonth %}
{% endif %}
{% endif %}
{% endblock %}