added form to posts.html