add if for teacher quiz edit link