{% extends "base.html" %} {% load wagtailsettings_tags gem_tags %} {% get_settings %} {% block content %}

{% trans "Hello" %} {{ user }}

{% csrf_token %}

{% trans "Not set" as defaultText %}

{% trans "Your Profile" %}

{% if settings.profiles.UserProfilesSettings.activate_display_name %}

{% trans "When you type comments your name will appear as:" %} {{ user.profile.alias | default:defaultText }}

{% endif %} {% if settings.profiles.UserProfilesSettings.activate_dob %}

{% trans "Date of birth:" %} {{ user.profile.date_of_birth | default:defaultText }}

{% endif %} {% if settings.profiles.UserProfilesSettings.activate_gender %}

{% trans "Gender:" %} {{ user.profile.gender|gender_display | default:defaultText }}

{% endif %} {% if settings.profiles.UserProfilesSettings.show_mobile_number_field and settings.profiles.UserProfilesSettings.country_code %}

{% trans "Mobile number:" %} {{ user.profile.mobile_number | default:defaultText }}

{% endif %} {% if settings.profiles.UserProfilesSettings.show_email_field %}

{% trans "Email Address:" %} {{ user.email | default:defaultText }}

{% endif %} {% if settings.profiles.UserProfilesSettings.activate_location %}

{% trans "Location:" %} {{ user.profile.location | default:defaultText }}

{% endif %} {% if settings.profiles.UserProfilesSettings.activate_education_level %}

{% trans "Education Level:" %} {{ user.profile.education_level | default:defaultText }}

{% endif %} {% trans "Update Profile" %}

{% csrf_token %}
{% trans "Change Your Password" %}
{% if form.errors or form.non_field_errors %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% endif %} {% endif %} {% if messages %}
    {% for message in messages %}
  • {{ message }}
  • {% endfor %}
{% endif %}

{% trans "Old Password:" %}

{{ password_change_form.old_password }} {{ password_change_form.old_password.errors }}

{% trans "New Password:" %}

{{ password_change_form.new_password }} {{ form.new_password.errors }}

{% trans "Confirm Password:" %}

{{ password_change_form.confirm_password }} {{ form.confirm_password.errors }}

{% endblock %}