School accepts liability after pupil’s serious injury