In order to encourage further preparation and education of its teachers, the board of an independent school district may stipulate in a teacher’s contract the amount the teacher may receive conditioned upon attending summer school.