From e7a0ae005a388a8a480538561dc0f2b0065c8400 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Mon, 7 May 2018 14:20:44 +0200
Subject: [PATCH] to be merged

---
 templates/web/fr/create_accounts.tt2.html | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/templates/web/fr/create_accounts.tt2.html b/templates/web/fr/create_accounts.tt2.html
index 2db3452..162a628 100644
--- a/templates/web/fr/create_accounts.tt2.html
+++ b/templates/web/fr/create_accounts.tt2.html
@@ -51,9 +51,14 @@ service fédéré. Pour le faire, sélectionnez <strong>[% idp_displayname
         <div>
             <table>
                 <caption>Liste des attributs utilisateur</caption>
-    [% FOREACH attribute IN [ 'cn', 'displayName', 'givenName', 'sn', 'mail', 'schacHomeOrganization', 'schacHomeOrganizationType', 'eduPersonPrincipalName', 'eduPersonAffiliation', 'eduPersonScopedAffiliation' ] -%]
+    [% FOREACH attribute IN [ 'cn', 'displayName', 'givenName', 'sn', 'mail', 'schacHomeOrganization', 'schacHomeOrganizationType', 'eduPersonPrincipalName' ] -%]
                 <tr>
-                    <th>[% attribute %]</th><td> [% account.$attribute %]</td>
+                    <th>[% attribute %]</th><td> [% account.$attribute() %]</td>
+                </tr>
+    [% END %]
+    [% FOREACH attribute IN [ 'eduPersonAffiliation', 'eduPersonScopedAffiliation' ] -%]
+                <tr>
+                    <th>[% attribute %]</th><td> [% account.$attribute().join(', ') %]</td>
                 </tr>
     [% END %]
                 <tr>
-- 
GitLab