Teacher accused of crossing the link with student punishment