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

Accidents' Listing

{% if accident_list.count >= 1 %} {% for accident in accident_list %} {% endfor %}
Date Gymnast
{{ accident.date | date:"d-m-Y" }} {{ accident.gymnast }}
{% else %} There are no accident corresponding to your criterias. {% endif %}
{% endblock %} {% block footerscript %} {% endblock %}