For example, I have such line:
<tr class="<%= cycle('list_line_odd', 'list_line_even') %>">
How I can translate it into HAML?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Response to comments, which is a separate question:
This is your source, from your pastie:
The above applies
cycleto the outer-most table row, not each individual book’s row: