A primary school literature teacher was forced to resign after using Russian classics to teach students about war.