Sha256: 8760f33cf871d2d434f35eccf787fdcafde48065f04f0579a38090979c4d2b33
Contents?: true
Size: 1.39 KB
Versions: 11
Compression:
Stored size: 1.39 KB
Contents
%dl.rbbt_accordion - container.lists.each do |id, list, text, options| - if Proc === list = fragment do - list = list.call - next if list.nil? %dt.next = list.respond_to?(:list_link) ? list.list_link(:length, id) : list.length %span.title = text || id %dd - if (defined? force and force) or list.length < 500 - if list.respond_to? :link = list.link * ", " - else = list * ", " - else = modal_fragment "Too many entities to list" do - if list.respond_to? :link = list.link * ", " - else = list * ", " - else - if list.empty? %dt = 0 %span.title = text || id - else %dt.next = list.respond_to?(:list_link) ? list.list_link(:length, id) : list.length %span.title = text || id %dd - if (defined? force and force) or list.length < 500 - if list.respond_to? :link = list.link * ", " - else = list * ", " - else = reveal "Too many entities to list" do = fragment do - if list.respond_to? :link = list.link * ", " - else = list * ", "
Version data entries
11 entries across 11 versions & 1 rubygems