added tab template to tabview