All teachers shall make a written contract with the director of schools or board of education at a fixed salary per month before entering upon the teachers' duties.