{% extends 'accounts/base.html' %} {% load static %} {% block title %}Edit Profile - {{ block.super }}{% endblock %} {% block content %}

Edit Profile

{% csrf_token %} {% if form.non_field_errors or profile_form.non_field_errors %}
{% for error in form.non_field_errors %} {{ error }}
{% endfor %} {% for error in profile_form.non_field_errors %} {{ error }}
{% endfor %}
{% endif %}
Profile Picture
{% if user.avatar %} Current Avatar {% else %}
{% endif %}
{% if user.avatar %} {% endif %}
Upload a square image (JPG, PNG, GIF). Maximum size: 5MB.
{% if form.avatar.errors %}
{{ form.avatar.errors.0 }}
{% endif %}
Basic Information
{% if form.first_name.errors %}
{{ form.first_name.errors.0 }}
{% endif %}
{% if form.last_name.errors %}
{{ form.last_name.errors.0 }}
{% endif %}
{% if form.email.errors %}
{{ form.email.errors.0 }}
{% endif %}
{% if form.phone_number.errors %}
{{ form.phone_number.errors.0 }}
{% endif %}
0/500 characters
{% if form.bio.errors %}
{{ form.bio.errors.0 }}
{% endif %}
Professional Information
{% if profile_form.job_title.errors %}
{{ profile_form.job_title.errors.0 }}
{% endif %}
{% if profile_form.company.errors %}
{{ profile_form.company.errors.0 }}
{% endif %}
{% if profile_form.department.errors %}
{{ profile_form.department.errors.0 }}
{% endif %}
{% if profile_form.website.errors %}
{{ profile_form.website.errors.0 }}
{% endif %}
{% if profile_form.linkedin.errors %}
{{ profile_form.linkedin.errors.0 }}
{% endif %}
Location Information
{% if profile_form.location_address.errors %}
{{ profile_form.location_address.errors.0 }}
{% endif %}
{% if profile_form.location_city.errors %}
{{ profile_form.location_city.errors.0 }}
{% endif %}
{% if profile_form.location_state.errors %}
{{ profile_form.location_state.errors.0 }}
{% endif %}
{% if profile_form.location_country.errors %}
{{ profile_form.location_country.errors.0 }}
{% endif %}
{% if profile_form.location_postal_code.errors %}
{{ profile_form.location_postal_code.errors.0 }}
{% endif %}
Preferences
{% if form.language.errors %}
{{ form.language.errors.0 }}
{% endif %}
{% if form.timezone_field.errors %}
{{ form.timezone_field.errors.0 }}
{% endif %}

Cancel
{% endblock %} {% block extra_js %} {% endblock %}