{% import "macros.html" as macros %} Organigramme des clubs {% for club in clubs %} {% if club.member_number != 0 %}

{{ club.name }}

{% if club.base_members %}
{% for member in club.base_members %} {{ macros::card(card=member, primary_color=club.primary_color, secondary_color=club.secondary_color) }} {% endfor %}
{% endif %} {% for section in club.sections %}

{{ section.title }}

{% for member in section.members %} {{ macros::card(card=member, primary_color=club.primary_color, secondary_color=club.secondary_color) }} {% endfor %}
{% endfor %}
{% endif %} {% endfor %}