{% extends "base.html" %}
{% load i18n %}

{% block title %} {% trans "Consent page" %} {% endblock %}

{% block content %}


{% load i18n %}
<div id="consent">
<p>
{% if provider_id %}
{% trans "Do you accept to federate your account with " %} <strong>{{ provider_id }}</strong> ?
{% else %}
{% trans "Do you accept to federate your account ?" %}
{% endif %}
{{ provider_id2 }}
</p>
<p>
{% if attributes %}
{% trans "Do you accept to send these attributes?" %}
<ul>
{% for attribute in attributes %}
<li>{{ attribute }}</li>
{% endfor %}
</ul>
{% endif %}
</p>
<form method="post" action="">
<input type="hidden" name="next" value="{{ next }}" />
<input type="hidden" name="nonce" value="{{ nonce }}" />
<input type="submit" name="accept" value="{% trans 'Accept' %}"/>
<input type="submit" name="refuse" value="{% trans 'Refuse' %}"/>
</form>
</div>

{% endblock %}
