{% for cluster in f_clusters() %}
{% set machinelist = f_machines(cluster.id_machine_cluster) %}
{{ cluster.name }}
{{ p_icon.remove | raw }}
{{ p_icon.edit | raw }}
{{ p_icon.device | raw }}
{{ machinelist | length }} machines
{{ p_icon.option | raw }}
{% for option in f_options(cluster.id_machine_cluster) %}
{{ option.name }}
{% else %}
Aucune option
{% endfor %}
{{ p_icon.group | raw }}
{% for machine in machinelist %}
{{ machine.name }}
{% endfor %}
+
{# if no result #}
{% else %}
Aucun groupe trouvé.
{% endfor %}