aboutsummaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/edit_post.html
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/templates/edit_post.html')
-rw-r--r--apioforum/templates/edit_post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/templates/edit_post.html b/apioforum/templates/edit_post.html
index 8e8120d..275f97f 100644
--- a/apioforum/templates/edit_post.html
+++ b/apioforum/templates/edit_post.html
@@ -9,6 +9,6 @@
<textarea class="new-post-box" name="newcontent">{{post.content}}</textarea>
<p>confirm edit?</p>
<input type="submit" value="confirm">
-<a href="{{url_for('thread.view_thread',thread_id=post.thread)}}">cancel</a>
+<a href="{{post_jump(post.id)}}">cancel</a>
</form>
{% endblock %}