Got it working using include() instead of ->Render() and using  instead of  in the template