annotate gpp/templates/bio/edit_profile.html @ 55:146ded23d05c

#6; Fix elsewhere list display problems. Also fix incorrect XHTML.
author Brian Neal <bgneal@gmail.com>
date Tue, 23 Jun 2009 00:24:09 +0000
parents 74f04122295e
children c0d3b09c9b95
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>
gremmie@1 11 <form action="{% url bio-edit_profile %}" method="post">
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>
gremmie@1 27 <tr><td>&nbsp;</td><td><input type="submit" name="submit_button" value="Save" />
gremmie@1 28 <input type="submit" name="submit_button" value="Cancel" /></td></tr>
gremmie@1 29 </table>
gremmie@1 30 </form>
gremmie@1 31 </div>
gremmie@1 32 <br />
gremmie@1 33 {% endblock %}