{% extends 'base-apply.html' %} {% load i18n users_tags wagtailcore_tags %} {% block title %}{% trans "Account" %}{% endblock %} {% block content %} {% adminbar %} {% slot header %}{% trans "Welcome" %} {{ user }}{% endslot %} {% slot sub_heading %}{% trans "Manage your account details and security." %}{% endslot %} {% if user.can_access_dashboard %} {% trans "Go to my dashboard" %} {% else %}

{% trans "Submit a new application" %}

{% trans "Apply now for our open rounds" %}

{% trans "Apply" %}
{% endif %} {% endadminbar %}

{% trans "Profile" %}

{% csrf_token %} {% for field in form %} {% include "forms/includes/field.html" %} {% endfor %}

{% trans "Account Security" %}

{% if show_change_password %}

{% trans "Password" %}

{% if user.has_usable_password %} {% trans "Update password" %} {% else %} {% endif %}

{% endif %}

{% trans "Two-Factor Authentication (2FA)" %}

{% if default_device %} {% trans "Backup codes" %} {% trans "Disable 2FA" %} {% else %} {% trans "Enable 2FA" %} {% endif %}
{% if swappable_form %}
{% if swappable_form %}

{% trans "Become" %}:

{{ swappable_form.media }} {% csrf_token %} {% for field in swappable_form %} {% include "forms/includes/field.html" %} {% endfor %}
{% endif %} {# Remove the comment block tags below when such need arises. e.g. adding new providers #} {% comment %} {% can_use_oauth as show_oauth_link %} {% if show_oauth_link %} {% trans "Manage OAuth" %} {% endif %} {% endcomment %}
{% endif %}
{% endblock %}