{% load i18n %} {% load my_filters %}
{% for exercise in exercises %} {% endfor %} {% for student in students %} {% for exercise in exercises %} {% if not student.exercise_logs|get_item:exercise.slug %} {% endfor %} {% endfor %}
{% elif student.exercise_logs|get_item:exercise.slug|get_item:"struggling" %} {% elif student.exercise_logs|get_item:exercise.slug|get_item:"complete" %} {% else %} {% endif %}