{# USER HEADER #}
{% if p_class == 0 %}
Identifiant
Nom
Code RFID
{# MACHINE HEADER #}
{% else %}
Nom
{% endif %}
Membre de {{ p_name }}
{% for member in f_members(p_id_cluster, p_class) %}
{# USER ENTRIES #}
{% if p_class == 0 %}
{{ member.username }}
{{ member.firstname }} {{ member.lastname }}
{{ member.code }}
{# MACHINE ENTRIES #}
{% else %}
{{ member.name }}
{% endif %}
{% endfor %}