Sha256: b93867fb0ac68ff4a889bb5083bf592de681134eb69c76814acc99fcf87afb64
Contents?: true
Size: 565 Bytes
Versions: 9
Compression:
Stored size: 565 Bytes
Contents
%tbody - page.each_with_index do |record,index| %tr{:class => "#{index % 2 == 0 ? "even" : "odd"} openable-row",:"data-id"=>record.id} = render_component columns,:first,:record=>record - columns.each do |column| %td = column.formatter.with(record.send(column.name.to_sym),record).to_s = render_component columns,:last,:record=>record %tr{:id=>"menu_items_#{record.id}",:class=>"subrow", :style=>"display:none;"} %td{:colspan=>columns.size+2} = render_component "lolita/menu_items",:display, :menu=>record
Version data entries
9 entries across 9 versions & 1 rubygems