Teacher admits to sending nudes to pupil on Snapchat