Outsourced tab rendering into separate template