Render the template