Mercurial > public > sg101
comparison gpp/templates/bio/edit_profile.html @ 29:74f04122295e
Initial integration of django-elsewhere.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 03 May 2009 20:14:04 +0000 |
parents | dbd703f7d63a |
children | c0d3b09c9b95 |
comparison
equal
deleted
inserted
replaced
28:04377c5bf912 | 29:74f04122295e |
---|---|
1 {% extends 'bio/base.html' %} | 1 {% extends 'bio/base.html' %} |
2 {% load avatar_tags %} | 2 {% load avatar_tags %} |
3 {% load elsewhere_tags %} | |
3 {% block title %}Edit Profile{% endblock %} | 4 {% block title %}Edit Profile{% endblock %} |
4 {% block custom_js %} | 5 {% block custom_js %} |
5 {{ profile_form.media }} | 6 {{ profile_form.media }} |
6 {% endblock %} | 7 {% endblock %} |
7 {% block content %} | 8 {% block content %} |
15 <a href="{% url bio-change_avatar %}">Change Avatar</a></td> | 16 <a href="{% url bio-change_avatar %}">Change Avatar</a></td> |
16 <td>{% avatar user %}</td> | 17 <td>{% avatar user %}</td> |
17 </tr> | 18 </tr> |
18 {{ user_form.as_table }} | 19 {{ user_form.as_table }} |
19 {{ profile_form.as_table }} | 20 {{ profile_form.as_table }} |
21 <tr> | |
22 <td> | |
23 <a href="{% url bio-edit_elsewhere %}"><img src="{{ MEDIA_URL }}icons/link_edit.png" alt="Edit Links" /></a> | |
24 <a href="{% url bio-edit_elsewhere %}">Edit Elsewhere Links</a></td> | |
25 <td>{% elsewhere_links user %}</td> | |
26 </tr> | |
20 <tr><td> </td><td><input type="submit" name="submit_button" value="Save" /> | 27 <tr><td> </td><td><input type="submit" name="submit_button" value="Save" /> |
21 <input type="submit" name="submit_button" value="Cancel" /></td></tr> | 28 <input type="submit" name="submit_button" value="Cancel" /></td></tr> |
22 </table> | 29 </table> |
23 </form> | 30 </form> |
24 </div> | 31 </div> |