The teacher contract stated things like this; may not loiter at the ice cream parlor, if you get married you'll no longer be a teacher, and you can only ride in horse drawn carriages/automobiles with your father or brother.
How long after 1923 were these rules in effect?
I think you may be interested in the answer from /u/uraccountabilibuddy to How strict were rules for teachers in 1920s America? They point out that this "contract" was not real, and while it was based in certain standards of expected conduct, these were not universal rules in effect.