separate templates for each tab