{% extends 'accounts/base.html' %} {% load i18n %} {% block accounts_content %}

{% trans "Personal information" %}

{% csrf_token %}
{% include "accounts/_includes/basic_block.html" with field=form.first_name %}
{% include "accounts/_includes/basic_block.html" with field=form.last_name %}
{% include "accounts/_includes/basic_block.html" with field=form.email icon="fa-at" %} {% include "accounts/_includes/basic_block.html" with field=form.preferred_language icon="fa-flag" %}
{% trans "Change password" %}

{% trans "Password" %}

{% trans "Groups" %}

{% if user.groups.count > 0 %} {% blocktrans with groups=user.groups.all|join:', ' count nb=user.groups.count %} You are registered in the group: {{ groups }}. {% plural %} You are registered in the groups: {{ groups }}. {% endblocktrans %} {% else %} {% trans "You are not registered in any group yet." %} {% endif %}
{% endblock %}