moved table body to partial