{% extends "base_wide.html" %} {% load i18n %} {% load staticfiles %} {% block title %}{% trans "Muscle overview" %}{% endblock %} {% block header %} {% endblock %} {% block content %} {% trans "Hover with the mouse over the muscles to show corresponding exercises." %}

{% trans "Muscles" %}

{# Why do we need to use |first? #} {% regroup muscle_list|first by is_front as muscle_group %} {% for group in muscle_group %} {% if group.grouper %}

{% trans "Front" %}

{% else %}

{% trans "Back" %}

{% endif %}
    {% for muscle in group.list %}
  • {{muscle.name}}
  • {% endfor %}
{% endfor %}
{% for muscle in muscle_list|first %} {% endfor %}
{% endblock %} {% block sidebar %} {% endblock %}