Pair of blocks in each?

Posted by Aleksandr Koss on Stack Overflow See other posts from Stack Overflow or by Aleksandr Koss
Published on 2009-07-22T14:43:07Z Indexed on 2010/03/15 3:19 UTC
Read the original article Hit count: 403

Filed under:
|
|

As in the standart cycle:

- @goods.each do |good|
  ???

...to organize this (HAML):

.columns-wrapper
  .column First good
  .column Second good
  .column Third good

.columns-wrapper
  .column Fourth good
  .column Fifth good
  .column Sixth good

© Stack Overflow or respective owner

Related posts about haml

Related posts about ruby