view 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
line wrap: on
line source
{% load url from future %}
{% if show_button %}
<a href="{% url 'forums-edit_post' id=post.id %}"><img src="{{ MEDIA_URL }}icons/page_edit.png" alt="Edit post" title="Edit post" /></a>
{% endif %}