Sha256: 93c9feac193e89680c898ef4fba0f6f90630998bd9e93103b91923cb05db639a
Contents?: true
Size: 615 Bytes
Versions: 16
Compression:
Stored size: 615 Bytes
Contents
- columns_count ||= 4 - unless items.blank? - items_rendered_count = 0 - (0...columns_count).each do |i| .column %ul - column_items_count = ((items.size - items_rendered_count).to_f/(columns_count-i)).ceil - from = items_rendered_count - to = items_rendered_count + column_items_count - to = items.size if to > items.size - items_rendered_count = to - (from...to).each do |j| .criteria %li = link_to items[j][:name], 'javascript:void(0);', class: 'categorized_autocompleter_item_link', rel: "#{items[j][:rel]}"
Version data entries
16 entries across 16 versions & 1 rubygems