Labor learns a lesson as teachers have a spring in their step