The Afghan government has accused Taliban militants of attacking dozens of schools and teachers .