Hi all,
just started using rails, the answer to this question might seem
obvious to others, but unfortunately not to me.
I am trying to create a grid of results using a collection and a
partial.

but instead of using the <ul> tag or the table format, i am going to
use css.
That's whay i need to pass an incremental variable to each returned
result that could calculate its position within the grid.
Is there a way to retreive the row # within the partial the same way i
could get the index value in a for loop?

Thanks in advance  for any help


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to