annotate gpp/templates/bio/edit_profile.html @ 12:f408971657b9

Changed the shoutbox: posts are now made by Ajax. The smiley farm is loaded only on demand. jQuery is now in the base template. May add scrolling later.
author Brian Neal <bgneal@gmail.com>
date Wed, 15 Apr 2009 01:13:17 +0000
parents dbd703f7d63a
children 74f04122295e
rev   line source
gremmie@1 1 {% extends 'bio/base.html' %}
gremmie@1 2 {% load avatar_tags %}
gremmie@1 3 {% block title %}Edit Profile{% endblock %}
gremmie@1 4 {% block custom_js %}
gremmie@1 5 {{ profile_form.media }}
gremmie@1 6 {% endblock %}
gremmie@1 7 {% block content %}
gremmie@1 8 <div class="user_profile">
gremmie@1 9 <h2>Edit Profile for {{ user.username }}</h2>
gremmie@1 10 <form action="{% url bio-edit_profile %}" method="post">
gremmie@1 11 <table>
gremmie@1 12 <tr>
gremmie@1 13 <td>
gremmie@1 14 <a href="{% url bio-change_avatar %}"><img src="{{ MEDIA_URL }}icons/image_edit.png" alt="Change Avatar" /></a>
gremmie@1 15 <a href="{% url bio-change_avatar %}">Change Avatar</a></td>
gremmie@1 16 <td>{% avatar user %}</td>
gremmie@1 17 </tr>
gremmie@1 18 {{ user_form.as_table }}
gremmie@1 19 {{ profile_form.as_table }}
gremmie@1 20 <tr><td>&nbsp;</td><td><input type="submit" name="submit_button" value="Save" />
gremmie@1 21 <input type="submit" name="submit_button" value="Cancel" /></td></tr>
gremmie@1 22 </table>
gremmie@1 23 </form>
gremmie@1 24 </div>
gremmie@1 25 <br />
gremmie@1 26 {% endblock %}