Add swicths contexts in template