{% extends "ClarolineCoreBundle:Desktop:layout.html.twig" %} {% block title %}{{ 'profil_edition'|trans({}, 'platform') }}{% endblock %} {% block content %}

{{ 'profil_edition'|trans({}, 'platform') }}

{% set actionForm = editYourself ? path('claro_user_profile_edit') : path('claro_user_profile_edit', {'user': user.getId()}) %} {% set cancelUrl = editYourself ? path('claro_profile_view') : path('claro_admin_user_list') %}
{% for role in unavailableRoles %}
{{ 'role_limit_reached'|trans({'%translationKey%': role.getTranslationKey()|trans({}, 'platform')}, 'platform') }}
{% endfor %} {{ form_widget(form) }}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}