Kia ora all,
I was wondering what the easiest way to get zebra striping for
<r:children:each> is?
In a rails app it would be:
<%- for item in @items do -%>
<tr class="<%= cycle("even", "odd") %>">
... use item ...
</tr>
<%- end -%>
Any ideas :-)
Regards
Nathan
--
Posted via http://www.ruby-forum.com/.