Enhance all post and reply delete buttons.
[Sone.git] / src / main / resources / templates / include / viewPost.html
index 8e528ac..5c9ef15 100644 (file)
@@ -1,4 +1,4 @@
-<div id="<% post.id|html>" class="post <%if postLoop.last>last<%/if>">
+<div id="<% post.id|html>" class="post <%if loop.last>last<%/if>">
        <div>
                <div class="author profile-link"><a href="viewSone.html?sone=<% post.sone.id|html>"><% post.sone.niceName|html></a></div>
                <div class="text"><% post.text|html></div>
@@ -16,7 +16,7 @@
        </div>
        <div class="replies">
                <%foreach post.replies reply>
-                       <div class="reply">
+                       <div id="<% reply.id|html>" class="reply">
                                <div>
                                        <div class="author profile-link"><a href="viewSone.html?sone=<% reply.sone.id|html>"><% reply.sone.niceName|html></a></div>
                                        <div class="text"><% reply.text|html></div>