diff gpp/templates/forums/post_edit_button.html @ 106:cb72577785df

Forums: implemented the edit post function.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Sep 2009 21:49:56 +0000
parents 08ddfd835305
children daa2916f5b34
line wrap: on
line diff
--- a/gpp/templates/forums/post_edit_button.html	Thu Sep 17 02:20:27 2009 +0000
+++ b/gpp/templates/forums/post_edit_button.html	Sat Sep 19 21:49:56 2009 +0000
@@ -1,3 +1,3 @@
 {% if show_button %}
-<a href=""><img src="{{ MEDIA_URL }}icons/page_edit.png" alt="Edit post" title="Edit post" /></a>
+<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 %}