Render data via template to a div