Render form created for new and edit post pages