Sha256: bfde34124c90f7b067acc645bfdcb43f76b14f813958889ab0748897c6f2a162
Contents?: true
Size: 723 Bytes
Versions: 8
Compression:
Stored size: 723 Bytes
Contents
%table{:class => table_styles} - if object.kind_of?(Array) %tr - overview_fields(type).each do |k, path| %th= k.to_s.humanize - object.each do |o| %tr - overview_fields(type).each do |k, path| - parent = path.empty? ? type : path[-2] - path.shift - value, id = get_value_and_id(o, path) %td{:class => importantize(k, value)}= linkify(k, value, parent, id) - else - overview_fields(type).each do |k, path| - parent = path.empty? ? type : path[-2] - path.shift - value, id = get_value_and_id(object, path) %tr{ :class => importantize(k, value)} %td= k.to_s.humanize %td= linkify(k, value, parent, id)
Version data entries
8 entries across 8 versions & 1 rubygems