Updated new post and edit post pages.