form fields for add_page are now visible. error on saving though

error might be due to local code and tutorial code differences