-<div id="<% post.id|html>" class="post">
+<div id="<% post.id|html>" class="post <%if postLoop.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>
</div>
<div class="status-line">
<div class="time"><a href="viewPost.html?post=<% post.id|html>"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></a></div>
- <%if post.sone.current><div class="delete"><a href="deletePost.html?post=<% post.id|html>"><%= View.Post.DeleteLink|l10n|html></a></div><%/if>
+ <%if post.sone.current>
+ <form class="delete" action="deletePost.html" method="post">
+ <input type="hidden" name="formPassword" value="<% formPassword|html>" />
+ <input type="hidden" name="returnPage" value="<% request.uri|html>" />
+ <input type="hidden" name="post" value="<% post.id|html>" />
+ <button type="submit"><%= View.Post.DeleteLink|l10n|html></button>
+ </form>
+ <%/if>
</div>
<div class="replies">
<%foreach post.replies reply>