- asciicasts.each_slice(per_row) do |slice| .row - slice.each do |asciicast| div class="col-md-#{12/per_row}" = render 'asciicasts/preview', asciicast: asciicast