selectsource.twig 1.2 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  GNU nano 4.8                                              selectsource.twig                                                         
{% set pagetitle = '{multiauth:multiauth:select_source_header}'|trans %}
{% extends "base.twig" %}

{% block content %}
    <h2>Benutzerkonto auswählen</h2>
    <p>Bitte wählen Sie ein Benutzerkonto aus, mit dem Sie sich authentifizieren wollen:</p>

    <form action="{{ selfUrl|escape('html') }}" method="get">
        <input type="hidden" name="AuthState" value="{{ authstate|escape('html') }} ">
        <ul>
        {% for key, source in sources %}
            {% set name = ('src-' ~ source.source64) %}
            {% set button = ('button-' ~ source.source) %}
	    <li class="{{ source.css_class|escape('html') }} authsource">
            <input class="button-red button-margin btn btn-primary" type="submit" name="{{ name|escape('html') }}" id="{{ button|escape('html') }}" value="{{ source.text|escape('html') }}"{%- if source.source == preferred %} autofocus{% endif -%}>            
            {% if source.help %}
              <p>{{ source.help|escape('html') }}</p>
            {% endif %}
            </li>
        {% endfor %}
        </ul>
    </form>
{% endblock %}