Teacher's Facebook comment about student sparks controversy