Cant use var $template in Flight view, use mytemplate