{% extends "base.html" %} {% load i18n wagtailsettings_tags %} {% get_settings %} {% block content %}
{% csrf_token %} {% if settings.profiles.UserProfilesSettings.activate_display_name %}
{{ form.alias.errors}} {{ form.alias }} {% trans "We value your online security, therefore we hide your username and allow you to comment and interact with the site with a display name." %}
{% endif %} {% if settings.profiles.UserProfilesSettings.activate_dob %}
{{ form.date_of_birth.errors}} {{ form.date_of_birth }}
{% endif %} {% if settings.profiles.UserProfilesSettings.activate_gender %}
{{ form.gender.errors}} {{ form.gender }} {% trans "Only you will see this" %}
{% endif %} {% if settings.profiles.UserProfilesSettings.activate_location %}
{{ form.location.errors}} {{ form.location }} {% trans "Only you will see this" %}
{% endif %} {% if settings.profiles.UserProfilesSettings.activate_education_level %}
{{ form.education_level.errors}} {{ form.education_level }} {% trans "Only you will see this" %}
{% endif %} {% if settings.profiles.UserProfilesSettings.show_mobile_number_field and settings.profiles.UserProfilesSettings.country_code %}
{{ form.mobile_number.errors }} {{ form.mobile_number }} {% trans "(e.g. 0914556789)" %}
{% endif %} {% if settings.profiles.UserProfilesSettings.show_email_field %}
{{ form.email.errors }} {{ form.email}} {% trans "(e.g. example@foo.com)" %}
{% endif %}
{% endblock %}