move tab directive template to it's own file