Don’t omit post ID.
[Sone.git] / src / main / resources / templates / include / viewPost.html
index c6ea6a2..5d44274 100644 (file)
@@ -2,7 +2,7 @@
        <div class="author"><a href="viewSone.html?sone=<% post.sone.id>"><% post.sone.niceName|html></a></div>
        <div class="text"><% post.text|html></div>
        <div class="time"><a href="viewPost.html?post=<% post.id>"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></a></div>
-       <%if post.sone.isCurrent><div class="delete"><a href="deletePost.html?post="><%= View.Post.DeleteLink|l10n|html></a></div>
+       <%if post.sone.isCurrent><div class="delete"><a href="deletePost.html?post=<% post.id>"><%= View.Post.DeleteLink|l10n|html></a></div><%/if>
 </div>
 <%foreach post.replies reply>
        <div class="reply">