Templates: Add a 'edit post' button to thread view