comparison gpp/templates/bio/edit_elsewhere.html @ 310:daa2916f5b34

Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author Brian Neal <bgneal@gmail.com>
date Thu, 20 Jan 2011 04:03:48 +0000
parents 6a5549c2efb5
children 88b2b9cb8c1f
comparison
equal deleted inserted replaced
309:8a0bae48b6ca 310:daa2916f5b34
1 {% extends 'bio/base.html' %} 1 {% extends 'bio/base.html' %}
2 {% load url from future %}
2 {% block title %}Edit Your Elsewhere Links{% endblock %} 3 {% block title %}Edit Your Elsewhere Links{% endblock %}
3 {% block content %} 4 {% block content %}
4 <h2>Edit Your Elsewhere Links</h2> 5 <h2>Edit Your Elsewhere Links</h2>
5 <h3>Social Networks</h3> 6 <h3>Social Networks</h3>
6 {% if request.user.social_network_profiles.all %} 7 {% if request.user.social_network_profiles.all %}
81 {{ w_form.as_p }} 82 {{ w_form.as_p }}
82 <p><input type="submit" name="w-form" value="Add Website" class="button" /></p> 83 <p><input type="submit" name="w-form" value="Add Website" class="button" /></p>
83 </fieldset> 84 </fieldset>
84 </form> 85 </form>
85 <hr /> 86 <hr />
86 <p><a href="{% url bio-edit_profile %}">Back to Your Profile</a></p> 87 <p><a href="{% url 'bio-edit_profile' %}">Back to Your Profile</a></p>
87 {% endblock %} 88 {% endblock %}