Mercurial > public > sg101
annotate gpp/templates/bio/edit_profile.html @ 254:e43b1be24ccc
#103 - links to forum favorites and subscriptions are dead in the user profile.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 21 Sep 2010 00:26:38 +0000 |
parents | 6a5549c2efb5 |
children | daa2916f5b34 |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'bio/base.html' %} |
gremmie@1 | 2 {% load avatar_tags %} |
bgneal@29 | 3 {% load elsewhere_tags %} |
gremmie@1 | 4 {% block title %}Edit Profile{% endblock %} |
gremmie@1 | 5 {% block custom_js %} |
gremmie@1 | 6 {{ profile_form.media }} |
gremmie@1 | 7 {% endblock %} |
gremmie@1 | 8 {% block content %} |
gremmie@1 | 9 <div class="user_profile"> |
gremmie@1 | 10 <h2>Edit Profile for {{ user.username }}</h2> |
bgneal@194 | 11 <form action="{% url bio-edit_profile %}" method="post">{% csrf_token %} |
gremmie@1 | 12 <table> |
gremmie@1 | 13 <tr> |
gremmie@1 | 14 <td> |
gremmie@1 | 15 <a href="{% url bio-change_avatar %}"><img src="{{ MEDIA_URL }}icons/image_edit.png" alt="Change Avatar" /></a> |
gremmie@1 | 16 <a href="{% url bio-change_avatar %}">Change Avatar</a></td> |
gremmie@1 | 17 <td>{% avatar user %}</td> |
gremmie@1 | 18 </tr> |
gremmie@1 | 19 {{ user_form.as_table }} |
gremmie@1 | 20 {{ profile_form.as_table }} |
bgneal@29 | 21 <tr> |
bgneal@29 | 22 <td> |
bgneal@29 | 23 <a href="{% url bio-edit_elsewhere %}"><img src="{{ MEDIA_URL }}icons/link_edit.png" alt="Edit Links" /></a> |
bgneal@29 | 24 <a href="{% url bio-edit_elsewhere %}">Edit Elsewhere Links</a></td> |
bgneal@29 | 25 <td>{% elsewhere_links user %}</td> |
bgneal@29 | 26 </tr> |
bgneal@70 | 27 <tr> |
bgneal@70 | 28 <th>Time Zone:</th> |
bgneal@70 | 29 <td><select id="id_tz_area"></select> <select id="id_tz_location"></select></td> |
gremmie@1 | 30 <tr><td> </td><td><input type="submit" name="submit_button" value="Save" /> |
gremmie@1 | 31 <input type="submit" name="submit_button" value="Cancel" /></td></tr> |
gremmie@1 | 32 </table> |
gremmie@1 | 33 </form> |
gremmie@1 | 34 </div> |
gremmie@1 | 35 <br /> |
gremmie@1 | 36 {% endblock %} |