staff leave edit page