Mercurial > public > sg101
annotate gpp/templates/bio/edit_profile.html @ 184:4e1abeb593c2
Updating jQuery and jQuery UI. This is for ticket #57. Noticed GCalendar wasn't opening the datepicker on the correct date until I set a dateFormat option. Fixed member map to undisable the update button if you type in a location that can't be geocoded.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 28 Mar 2010 22:19:08 +0000 |
parents | c0d3b09c9b95 |
children | 6a5549c2efb5 |
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> |
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 %} |