{% extends "listing.html" %} {% block datacontent %}

Accidents Listing

{% if accident_list %} {% for accident in accident_list %} {% endfor %}
Date Gymnast Skill # Week off
{{ accident.date | date:"d-m-Y" }} {{ accident.gymnast }} {% if accident.skill %} {{ accident.skill }} {% else %} - {% endif %} {% if accident.nb_week_off %} {{ accident.nb_week_off }} {% else %} - {% endif %}
{% else %}

There are no accident corresponding to your criterias.

{% endif %}
{% endblock %} {% block footerscript %} {% endblock %}