Teacher fired for dating student