{% extends "base.html" %} {% load i18n staticfiles %} {% load socialprofile_tags %} {% block headtitle %}{% trans "Profile for " %}{{ user.username }}{% endblock %} {% block content %}

{{ user_form.first_name.value|default:" " }} {{ user_form.last_name.value|default:" " }}

{% if user.social_profile.image_url %}

{% endif %}
{% csrf_token %}
    {{ user_form.as_ul }}
    {{ sp_form.as_ul }}
{% csrf_token %} {% for field in user_form %} {% if field.label == 'Image banner' or field.label == 'Cropping banner' or field.label == 'Image' or field.label == 'Cropping' %}
{{ field.errors }}

{{ field }}

{% else %}
{{ field.errors }}

{{ field.label_tag }} {{ field }}

{% endif %} {% endfor %} {% for field in user_form %} {% if field.label == 'Image banner' or field.label == 'Cropping banner' or field.label == 'Image' or field.label == 'Cropping' %}
{{ field.errors }}

{{ field }}

{% else %}
{{ field.errors }}

{{ field.label_tag }} {{ field }}

{% endif %} {% endfor %}

{% trans "Social Connections" %}

{% endblock %} {% block javascript %} {% endblock %}