{% extends "profiles/base.html" %} {% load profile_tags %} {% load perm_tags %} {% block title %}{% trans 'Edit User'%}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans 'Edit '%} {{user_this.first_name }} {{user_this.last_name }}

{% trans 'Change the information below as needed and press Submit changes.'%}

{% if form.errors or form.non_field_errors %}
{% trans "There are some issues on the form, please review." %}
{{form.non_field_errors}} {% for error in form.errors.values %} {{ error }} {% endfor %} {% endif %}
{% csrf_token %}
{% if request.user.is_superuser %} {% endif %}

A) {% trans 'Name Information'%}

  {{ form.salutation }}
* {% if form.first_name.errors %} {{ form.first_name.errors }} {% endif %} {{ form.first_name }}
{{ form.initials }}
* {% if form.last_name.errors %} {{ form.last_name.errors }} {% endif %} {{ form.last_name }}
{% if form.position_title.errors %} {{ form.position_title.errors }} {% endif %} {{ form.position_title }}
{% if form.display_name.errors %} {{ form.display_name.errors }} {% endif %} {{form.display_name}}
   
   {{ form.hide_in_search }} {% trans "Yes" %}
 

B) {% trans 'Phone Information'%}

{% if form.phone.errors %} {{ form.phone.errors }} {% endif %} {{ form.phone }} {% if form.phone2.errors %} {{ form.phone2.errors }} {% endif %} {{form.phone2}}
{% if form.home_phone.errors %} {{ form.home_phone.errors }} {% endif %} {{ form.home_phone }} {% if form.work_phone.errors %} {{ form.work_phone.errors }} {% endif %} {{ form.work_phone }}
{% if form.fax.errors %} {{ form.fax.errors }} {% endif %} {{ form.fax }} {% if form.mobile_phone.errors %} {{ form.mobile_phone.errors }} {% endif %} {{ form.mobile_phone }}
    {{ form.hide_phone }} {% trans "Yes" %}  
 

C) {% trans 'E-mail and Internet Information'%}

{% if form.email.errors %} {{ form.email.errors }} {% endif %} {{ form.email }}    {{ form.direct_mail }}
{% if form.email2.errors %} {{ form.email2.errors }} {% endif %} {{ form.email2 }}
{% if form.url.errors %} {{ form.url.errors }} {% endif %} {{ form.url }}
    {{ form.hide_email }} Yes
 

D) {% trans 'Company Information'%}

{% if form.company.errors %} {{ form.company.errors }} {% endif %} {{ form.company }}
{% if form.department.errors %} {{ form.department.errors }} {% endif %} {{ form.department }}
 

E) {% trans 'Address Information'%}

("Mr & Mrs ?") {% if form.mailing_name.errors %} {{ form.mailing_name.errors }} {% endif %} {{ form.mailing_name }}
{% if form.address.errors %} {{ form.address.errors }} {% endif %} {{ form.address }} {% trans '(line 1)'%}
{% if form.address2.errors %} {{ form.address2.errors }} {% endif %} {{ form.address2 }} {% trans '(line 2)'%}
/ / {% if form.city.errors %} {{ form.city.errors }} {% endif %} {% if form.state.errors %} {{ form.state.errors }} {% endif %} {% if form.zipcode.errors %} {{ form.zipcode.errors }} {% endif %} {{ form.city }} / {{ form.state }} / {{ form.zipcode }}
{% if form.country.errors %} {{ form.country.errors }} {% endif %} {{ form.country }}
{{form.hide_address}} {% trans "Yes" %}

{% trans 'Alternate Address Information'%}

{% if form.address_2.errors %} {{ form.address_2.errors }} {% endif %} {{ form.address_2 }} {% trans '(line 1)'%}
{% if form.address2_2.errors %} {{ form.address2_2.errors }} {% endif %} {{ form.address2_2 }} {% trans '(line 2)'%}
/ / {% if form.city_2.errors %} {{ form.city_2.errors }} {% endif %} {% if form.state_2.errors %} {{ form.state_2.errors }} {% endif %} {% if form.zipcode_2.errors %} {{ form.zipcode_2.errors }} {% endif %} {{ form.city_2 }} / {{ form.state_2 }} / {{ form.zipcode_2 }}
{% if form.country_2.errors %} {{ form.country_2.errors }} {% endif %} {{ form.country_2 }}

F) {% trans 'Login Information'%}

{% if form.status_detail %} {% endif %}
* {% if form.username.errors %} {{ form.username.errors }} {% endif %}
{{ form.username }}
{% trans "change password" %}
{% if form.interactive.errors %} {{ form.interactive.errors }} {% endif %} {{ form.interactive }}
{% if form.status_detail.errors %} {{ form.status_detail.errors }} {% endif %} {{ form.status_detail }}
 

H) {% trans 'Notes '%}

{{ form.notes }}
 

I) {% trans 'Optional Information'%}

{% if form.time_zone.errors %} {{ form.time_zone.errors }} {% endif %} {{ form.time_zone }}
{% if form.language.errors %} {{ form.language.errors }} {% endif %} {{ form.language }} {% if form.sex.errors %} {{ form.sex.errors }} {% endif %} {{ form.sex }}
{% if form.spouse.errors %} {{ form.spouse.errors }} {% endif %} {{ form.spouse }} {% if form.dob.errors %} {{ form.dob.errors }} {% endif %} {{ form.dob }}
 

J) {% trans 'Administrator Information'%}

 
{{ form.admin_notes }}
 
{{ form.security_level }}
 
   
{% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}