{% extends "base.html" %} {% load thumbnail %} {% block title %}Edit Profile{% endblock %} {% block extrahead %} {# Bring in jquery-ui and its theme #} {# form.media #} {# -- js for tinymce #} {% endblock %} {% block content %} {# Hidden divs - revealed by jquery dialog #}
{% include 'media_instr.html' %}
{% if form.errors %} {% endif %} {# Reusable avatar code #} {% if not profile.avatar %} {% include 'profiles/avatar.html' %} {% endif %}

Edit profile for {{ user.first_name }} {{ user.last_name }} ({{user}})

Tell us about yourself...

{% csrf_token %}
{{form.avatar.label_tag}} {% if profile.avatar %} {% thumbnail profile.avatar "100x100" crop="center" as im %} {{profile}}'s avatar image {% endthumbnail %}
{#
#} {% endif %} {{form.avatar}}
{{form.avatar.help_text|safe}}
{{form.about.label_tag}} {{form.about.help_text|safe}}
⎋ You can add images and video to your profile! {{form.about}}
{{form.email.label_tag}} {{form.email}}
{{form.email.help_text}}
{{form.city.label_tag}} {{form.city}}
{{form.state.label_tag}} {{form.state}}
{{form.country.label_tag}} {{form.country}}
{{form.twitter.label_tag}} {{form.twitter}}
{{form.twitter.help_text|safe}}
{{form.facebook.label_tag}} {{form.facebook}}
{{form.facebook.help_text|safe}}
{{form.allow_contact}} {{form.allow_contact.label_tag}}
{{form.email_updates}} {{form.email_updates.label_tag}}
{{form.email_on_follow}} {{form.email_on_follow.label_tag}}
{{form.email_site_news}} {{form.email_site_news.label_tag}}

» Change password « » Account settings « » Delete account «

{% endblock content %}