Teacher union members vote to support pay offer