Say I have 16 objects in my collection, I want to create 4 rows of 4 each.
How do I do that using partials?
One way is to just use one partial on the main page, and have that partial render each row. Then inside that partial, have it 4 objects - but how do I actually do that such that it doesn't repeat objects and all this good stuff?
So the structure I am thinking is a partial (that produces 4 rows) and in each partial is another partial that produces 4 objects side by side.
But not quite sure how to pull that off.
Suggestions?