Mercurial > public > sg101
comparison gpp/templates/bio/edit_profile.html @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | 74f04122295e |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 {% extends 'bio/base.html' %} | |
2 {% load avatar_tags %} | |
3 {% block title %}Edit Profile{% endblock %} | |
4 {% block custom_js %} | |
5 {{ profile_form.media }} | |
6 {% endblock %} | |
7 {% block content %} | |
8 <div class="user_profile"> | |
9 <h2>Edit Profile for {{ user.username }}</h2> | |
10 <form action="{% url bio-edit_profile %}" method="post"> | |
11 <table> | |
12 <tr> | |
13 <td> | |
14 <a href="{% url bio-change_avatar %}"><img src="{{ MEDIA_URL }}icons/image_edit.png" alt="Change Avatar" /></a> | |
15 <a href="{% url bio-change_avatar %}">Change Avatar</a></td> | |
16 <td>{% avatar user %}</td> | |
17 </tr> | |
18 {{ user_form.as_table }} | |
19 {{ profile_form.as_table }} | |
20 <tr><td> </td><td><input type="submit" name="submit_button" value="Save" /> | |
21 <input type="submit" name="submit_button" value="Cancel" /></td></tr> | |
22 </table> | |
23 </form> | |
24 </div> | |
25 <br /> | |
26 {% endblock %} |