Refactor laptop row into partial