{% with user.colleur.allprofs as profs %}
  • Devoirs
      {% for prof in profs %} {% if request.session.matiere == prof.matiere.pk %}
    • {{prof.classe}}
    • {% endif %} {% endfor %}
  • TDs
      {% for prof in profs %} {% if request.session.matiere == prof.matiere.pk %}
    • {{prof.classe}}
    • {% endif %} {% endfor %}
  • Cours
      {% for prof in profs %} {% if request.session.matiere == prof.matiere.pk %}
    • {{prof.classe}}
    • {% endif %} {% endfor %}
  • Autre
      {% for prof in profs %} {% if request.session.matiere == prof.matiere.pk %}
    • {{prof.classe}}
    • {% endif %} {% endfor %}
  • {% endwith %}