{% extends "localtv/admin/base.html" %} {% comment %} # This file is part of Miro Community. # Copyright (C) 2010 Participatory Culture Foundation # # Miro Community is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # Miro Community is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with Miro Community. If not, see . {% endcomment %} {% load uploadtemplate_tags %} {% block title %}User Profile {% endblock %} {% block body_id %}user_profile{% endblock %} {% block body_class %}user_profile" onbeforeunload="return setting_onunload();{% endblock %} {% block head %} {{ block.super }} {% include "localtv/admin/dirty_form.html" %} {% endblock %} {% block content %} {% include "localtv/user_profile/header.html" %}

{% block page_title %}Profile | Edit profile{% endblock %}

{% csrf_token %}
{% block profile_button %}View Profile{% endblock %}
{% block form %} {% for field in form %}
{{ field.label_tag }} {{ field.errors }} {{ field }} {% if request.user.get_profile.logo and field.name == 'logo' %} Logo for {{ request.user.username }} {% endif %}
{% endfor %} {% endblock %}
{% endblock %}