view gpp/templates/bio/avatar.html @ 567:0a8e6a9ccf53

Tweaks to the contests application: show the winners on the list page. Minor presentation changes on the detail template.
author Brian Neal <bgneal@gmail.com>
date Wed, 07 Mar 2012 18:12:02 -0600
parents 3c48a555298d
children
line wrap: on
line source
{% extends 'bio/base.html' %}
{% load url from future %}
{% load bio_tags %}
{% block title %}Change My Avatar{% endblock %}
{% block content %}
<h2>Change My Avatar</h2>
   <p>This is your current avatar:</p>
   <p>{% avatar user 0 %}</p>
   <p>
   To change your avatar, upload a file using the form, below. You may leave the
   form blank to reset your avatar to the default.
   </p>
   <p>
   Your file must be a recognizable graphic file, such as jpeg, gif, png, etc. 
   The maximum size of an avatar is 100 x 100 pixels. If your uploaded file is larger than 
   this it will be scaled down to 100 x 100 pixels. For best results, please ensure your
   image is square.
   </p>
   <form enctype="multipart/form-data" method="POST" action=".">{% csrf_token %}
      {{ form.as_p }}
      <input type="submit" value="Update Avatar" />
      &nbsp;<a href="{% url 'bio-me' %}">Cancel</a>
   </form>
{% endblock %}