Mercurial > public > sg101
comparison gpp/templates/bio/edit_profile.html @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | daa2916f5b34 |
children | 3c48a555298d |
comparison
equal
deleted
inserted
replaced
311:b1c39788e511 | 312:88b2b9cb8c1f |
---|---|
11 <h2>Edit Profile for {{ user.username }}</h2> | 11 <h2>Edit Profile for {{ user.username }}</h2> |
12 <form action="{% url 'bio-edit_profile' %}" method="post">{% csrf_token %} | 12 <form action="{% url 'bio-edit_profile' %}" method="post">{% csrf_token %} |
13 <table> | 13 <table> |
14 <tr> | 14 <tr> |
15 <td> | 15 <td> |
16 <a href="{% url 'bio-change_avatar' %}"><img src="{{ MEDIA_URL }}icons/image_edit.png" alt="Change Avatar" /></a> | 16 <a href="{% url 'bio-change_avatar' %}"><img src="{{ STATIC_URL }}icons/image_edit.png" alt="Change Avatar" /></a> |
17 <a href="{% url 'bio-change_avatar' %}">Change Avatar</a></td> | 17 <a href="{% url 'bio-change_avatar' %}">Change Avatar</a></td> |
18 <td>{% avatar user %}</td> | 18 <td>{% avatar user %}</td> |
19 </tr> | 19 </tr> |
20 {{ user_form.as_table }} | 20 {{ user_form.as_table }} |
21 {{ profile_form.as_table }} | 21 {{ profile_form.as_table }} |
22 <tr> | 22 <tr> |
23 <td> | 23 <td> |
24 <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' %}"><img src="{{ STATIC_URL }}icons/link_edit.png" alt="Edit Links" /></a> |
25 <a href="{% url 'bio-edit_elsewhere' %}">Edit Elsewhere Links</a></td> | 25 <a href="{% url 'bio-edit_elsewhere' %}">Edit Elsewhere Links</a></td> |
26 <td>{% elsewhere_links user %}</td> | 26 <td>{% elsewhere_links user %}</td> |
27 </tr> | 27 </tr> |
28 <tr> | 28 <tr> |
29 <th>Time Zone:</th> | 29 <th>Time Zone:</th> |