Mom hits out at how teacher handled daughter's dress code violation