fixing layout for new and edit posts