{% extends 'base.html.twig' %}

{% block pagewrapper %}
    <h1 class="page-title">TEST EDISPATCHER</h1>

    <h2>Datasources</h2>
    {% for source in datasource %}
                <h3><strong>id</strong> = {{ source.id }}</h3>
                <strong>username</strong> = {{ source.username }}<br>
                <strong>profil</strong> = {{ source.profil }}<br>
                <strong>groupes</strong> = {{ source.groupes }}<br>
                <strong>ssoitems</strong> = {{ source.ssoitems }}<br>
                <strong>token</strong> = {{ source.token }}<br>
                <strong>horodatage</strong> = {{ source.horodatage }}<br>
                <strong>iddatasource</strong> = {{ source.iddatasource }}<br>
    {% endfor %}

    <h2>Appartient aux Groupes</h2>
    <strong>Groupes :</strong> = {{ groups }}<br>

    <h2>Atttribut SSO</h2>
    {% for key, attribute in attributes %}
        {% if attribute is iterable %}
            {% for value in attribute %}
                <strong>{{ key }}</strong> = {{ value }}<br>
            {% endfor %}
        {% else %}
            <strong>{{ key }}</strong> = {{ attribute }}<br>
        {% endif %}
    {% endfor %}

    <br><br><br><br><br><br><br>
{% endblock %}
