Skip to content
Snippets Groups Projects
Commit 827c7c0e authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Add twig template for cardinality error

parent 42e04f97
No related branches found
No related tags found
No related merge requests found
{% set pagetitle = 'Incorrect Attributes' | trans %}
{% extends "base.twig" %}
{% block content %}
<h1>{{ pagetitle }}</h1>
<p>{% trans 'One or more of the attributes supplied by your identity provider did not contain the expected number of values.' %}</p>
<h3>{% trans 'The problematic attribute(s) are:' %}</h3>
<dl class="cardinalityErrorAttributes">
{% for attr,issues in cardinalityErrorAttributes %}
{% set got = issues[0] %}
{% set want = issues[1] %}
<dt>{{ attr }}</dt>
<dd>{% trans %}got {{ got }} values, want {{ want }}{% endtrans %}</dd>
{% endfor %}
</dl>
{% if LogoutURL is defined %}
<p><a href="{{ LogoutURL }}">{% trans 'Logout' %}</a></p>
{% endif %}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment