Skip to content
Snippets Groups Projects
select_federation.tt2.html 1.54 KiB
[% WRAPPER index.tt2.html %]
<form class="wizard clearfix" action="[% app.url %]" method="get">
    <div class="steps clearfix">
        <ol>
            <li class="current">[% lh.maketext("Select a federation") %]</li>
            <li class="disabled">[% lh.maketext("Select your service") %]</li>
            <li class="disabled">[% lh.maketext("Select your email address") %]</li>
            <li class="disabled">[% lh.maketext("Complete email challenge") %]</li>
        </ol>
    </div>

    <div class="content clearfix">
        <h2>[% lh.maketext("Select a federation") %]</h2>

        <fieldset>
            <legend>[% lh.maketext("Select the federation corresponding to the service you want to test:") %]</legend>
        [% FOREACH federation IN federations.sort %]
            <input id="[% federation %]" name="federation" value="[% federation %]" type="radio" class="required"/>
            <label for="[% federation %]">[% federation %]</label>
            <br/>
        [% END %]
            <label for="federation" class="error"></label>
        </fieldset>
    </div>

    <div class="actions clearfix">
        <button type="submit" class="button" name="action" value="" formnovalidate>[% lh.maketext("Previous") %]</button>
        <button type="submit" class="button" name="action" value="select_sp">[% lh.maketext("Next") %]</button>
    </div>
</form>

<script type="text/javascript">
$( document ).ready(function() {
    $.validator.messages.required = "[% lh.maketext("This information is required") %]";
    $("form").validate();
});
</script>
[% END %]