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

{% block title %}
{% trans "Authentic - Account Management" %}
{% endblock %}


{% block content %}
<ol class="box-breadcrumb breadcrumb">
    <li><a href="{{wcs_url}}">Démarches en ligne</a></li>                   
    <li class="active">Mon compte</li>
</ol>
<h2>{% trans "Account Management" %}</h2>
<h3>{% trans "Profile" %}</h3>
<div id="profile">
{% if profile %}
<dl>

{% for key, values in profile %}
<dt>{{ key|capfirst }}</dt>
<dd>{% if values|length == 1 %}{{ values.0 }}{% else %}
<ul>
  {% for value in values %}
    <li>{{ value }}</li>
  {% endfor %}
</ul>
{% endif %}
</dd>
{% endfor %}
</dl>
{% endif %}
<br class="clear" />
<p><a href="{% url 'email-change' %}">{% trans "Change email" %}</a></p>
<p><a href="{% url 'profile_edit' %}">{% trans "Edit profile" %}</a></p>
<p><a href="{% url 'delete_account' %}">{% trans "Delete profile" %}</a></p>
</div>
<div id="credential">
  {% for html_block in frontends_block %}
    {{ html_block|safe }}
  {% endfor %}
</div>
{% endblock %}
