format edit page