Sha256: 983018e876c80ae5d821cad33673356964a6fa36bc26a1d6cb8ea40c06979a84
Contents?: true
Size: 721 Bytes
Versions: 13
Compression:
Stored size: 721 Bytes
Contents
%tbody - page.each_with_index do |record,index| %tr{:class => "#{index % 2 == 0 ? "even" : "odd"} openable-row",:"data-id"=>record.id} - columns.each do |column| %td = column.formatter.with(record.send(column.name.to_sym),record).to_s - real_actions = list.actions - list.actions = list.instance_variable_get(:@temp_actions) = render_component "lolita/configuration/column", :last,:record=>record, :list => list - list.actions = real_actions %tr{:id=>"branch_#{record.id}",:class=>"subrow", :style=>"display:none;"} %td{:colspan=>columns.size+2} = render_component "lolita/menu/nested_tree/branch_builder",:display, :scope => record, :list => list
Version data entries
13 entries across 13 versions & 1 rubygems