<html>
<body>
<p>Logged in. You have the following attributes:</p>

<% if @attrs.any? %>
  <table><thead><th>Name</th><th>Values</th></thead><tbody>

  <% @attrs.each_pair do |key,attr_value|  %>

    <tr><td><%= key %></td>
    <td>
    <% if attr_value.values.any? %>
        <ul>
        <% attr_value.values.each do |val| %>
            <li><%= val %></li>
        <% end %>
        </ul>
    <% end %>
    </td></tr>
  <% end %>
  </tbody> 
  </table>
<% end %>
<p><%= link_to "Logout", :action => "logout" %></p>
<p><%= link_to "Single Logout", :action => "logout", :slo => '1' %></p>
</body>
</html>

<html>
<body>
<p>Logged in. You have the following attributes:</p>

<% if @attrs.any? %>
  <table><thead><th>Name</th><th>Values</th></thead><tbody>

  <% @attrs.each do |key,attr_value|  %>

    <tr><td><%= key %></td>
    <td>
    <% if attr_value.any? %>
        <ul>
        <% attr_value.each do |val| %>
            <li><%= val %></li>
        <% end %>
        </ul>
    <% end %>
    </td></tr>
  <% end %>
  </tbody> 
  </table>
<% end %>
<p><%= link_to "Logout", :action => "logout" %></p>
<p><%= link_to "Single Logout", :action => "logout", :slo => '1' %></p>
</body>
</html>

Rewrite attribute iterator on the template. The ruby-saml lib changed the way to handle attributes
Rewrite attribute iterator on the template. The ruby-saml lib changed the way to handle attributes
