It shall be an unlawful employment practice unless based upon a bona fide occupational qualification:
(a)
For the governing board of any school district, because of the pregnancy of any female person, to refuse to hire or employ her, or to refuse to select her for a training program leading to employment, or to bar or to discharge her from employment or from a training program leading to employment, or to discriminate against her in compensation or in terms, conditions, or privileges of employment.
(b)
For the governing board of any school
district to terminate any employee who is temporarily disabled, pursuant to or on the basis of an employment policy under which insufficient or no leave is available, if the policy has a disparate impact on employees of one sex and is not justified by necessity of the public schools.