Extract table into partial