olwen_demo_app/app/views/qi/_render_collection.html.haml
Nicolas Bally 7b2e6811dd initial
2020-06-05 11:10:02 +02:00

13 lines
123 B
Plaintext

-i =0
-step = step || 4
-collec.each do |c|
=render c
-if i
-i += 1
-if i == step
.clear
-i = 0