{% extends "base.html" %} {% block page_title %} {{ _('Settings') }} {% endblock %} {% block body_id %}edit-profile{% endblock %} {% block extrahead %} {{ registration_form.media.css }} {% endblock extrahead %} {% block content %} {% if not forms_valid %}
{{ _('Please correct the errors below.') }}
{% endif %} {% if not profile.is_complete %}
{% trans %} You are just one step away from completing your registration. {% endtrans %}
{% endif %} {% if profile.is_complete %} {# This is the full profile form for those who have completed registration. #}
{% include 'phonebook/includes/profile_edit_basic.html' %} {% include 'phonebook/includes/profile_edit_location.html' %} {% include 'phonebook/includes/profile_edit_you.html' %} {% include 'phonebook/includes/profile_edit_groups.html' %} {% include 'phonebook/includes/profile_edit_accounts.html' %} {% include 'phonebook/includes/profile_edit_developer.html' %}
{% else %} {# This is the required-only profile form for new registrations. #} {% include 'phonebook/includes/profile_edit_registration.html' %} {% endif %} {% endblock %} {% block page_js %} {% compress js %} {% endcompress %} {{ autocomplete_form_media }} {% endblock %}