annotate gpp/templates/forums/post_edit_button.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 cb72577785df
children 88b2b9cb8c1f
rev   line source
bgneal@310 1 {% load url from future %}
bgneal@105 2 {% if show_button %}
bgneal@310 3 <a href="{% url 'forums-edit_post' id=post.id %}"><img src="{{ MEDIA_URL }}icons/page_edit.png" alt="Edit post" title="Edit post" /></a>
bgneal@105 4 {% endif %}