{include file="header.tpl"}
{if $idps}
<p class="lead">{str tag=selectidp section=auth.saml}</p>
{/if}
<div id="idps" class="table-responsive">
    <h2 id="idpsheading">{str tag="IdPSelection" section=auth.saml}</h2>
    {if $idps}
    <div class="table-responsive">
    <table id="searchidps" class="table table-striped listing">
        <thead>
            <tr>
                {foreach from=$columns key=f item=c}
                <th>
                    {$c.name}
                    {if $c.help}
                        {$c.helplink|safe}
                    {/if}
                    {if $c.headhtml}<div>{$c.headhtml|safe}</div>{/if}
                </th>
                {/foreach}
            </tr>
        </thead>
        <tbody>
            {$idps|safe}
        </tbody>
    </table>
    </div>
    {else}
        <div class="card-body">
            <p class="no-idps">{str tag="noidpsfound" section=auth.saml}</p>
        </div>
    {/if}
</div>
{include file="footer.tpl"}
