summaryrefslogtreecommitdiffstats
path: root/roles/ipsilon/files/templates/openid/consent_form.html
blob: eb77ee9112b18196b3acc102a7cdf6da8b321750 (plain)
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
26
27
{% extends "master-user.html" %}
{% block toptext %}
<p><small><strong>{{trustroot}}</strong> requests to use the following details from your FAS Account</small></p>
{% endblock %}
{% block cardwidths %}col-md-10 col-md-offset-1{% endblock %}
{% block maintitle %}Review the authorization details{% endblock %}
{% block main %}
    <div class="small">
        <form method="post" action="{{action}}" enctype="application/x-www-form-urlencoded">
            <input type="hidden" name="ipsilon_transaction_id" id="ipsilon_transaction_id" value="{{ ipsilon_transaction_id }}" />
                    {% for entry in authz_details|dictsort %}
                        <div class="row m-b">
                            <div class="col-sm-5"><strong>{{ entry[0] }}</strong></div>
                            {%- if entry[1] is iterable and not entry[1] is string -%}
                            <div class="col-sm-7">{{ entry[1] | join(', ') }}</div>
                            {%- else -%}
                            <div class="col-sm-7">{{ entry[1] }}</div>
                            {%- endif -%}
                        </div>
                    {% endfor %}
            <p class="form_item">
                <input class="btn btn-primary" name="decided_allow" type="submit" value="Approve" />
                <input class="btn btn-link" name="decided_deny" type="submit" value="Reject" />
            </p>
        </form>
    </div>
{% endblock %}