{% extends "index.html" %}

{% block title %}{{ year }} – {% endblock %}

{% block body %}
      <h3>{{ year }} &ndash; Choisissez votre mention</h3>
      <ul>
{% for timetable in timetables %}
        <li><a href="{% url "groups" year.slug timetable.slug %}">{{ timetable }}</a></li>
{% empty %}
        <p>Aucun emploi du temps à afficher</p>
{% endfor %}
      </ul>
{% endblock %}