{# .. screenshot:: |canaille|/profile/user/settings :context: user :align: right :width: 275px The user profile settings edition page. The profile settings template. Displays the user settings edition form. :param edited_user: The user that the form will edit. :type edited_user: :class:`~canaille.core.models.User` :param form: The user profile edition form. Dynamically built according to the user :attr:`~canaille.core.configuration.ACLSettings.READ` and :attr:`~canaille.core.configuration.ACLSettings.WRITE` permissions. The available fields are those appearing in *READ* and *WRITE*, those only appearing in *READ* are read-only. :type form: :class:`~flask_wtf.FlaskForm` :param self_deletion: Whether the editor is allowed to delete the account of the edited user. :type self_deletion: :class:`bool` #} {% extends theme('base.html') %} {% import 'macro/form.html' as fui %} {%- block title -%} {% if user.user_name == edited_user.user_name %} {%- trans %}My profile{% endtrans -%} {% else %} {%- trans %}User profile edition{% endtrans -%} {% endif %} {%- endblock -%} {% block submenu %} {% trans %}Personal information{% endtrans %} {% trans %}Account settings{% endtrans %} {% trans %}Authentication{% endtrans %} {% endblock %} {% block content %}