move the template to partials