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

Version Path
lolita-menu-0.0.15 app/views/components/lolita/menu/_columns_body.html.haml
lolita-menu-0.0.14 app/views/components/lolita/menu/_columns_body.html.haml
lolita-menu-0.0.13 app/views/components/lolita/menu/_columns_body.html.haml
lolita-menu-0.0.12 app/views/components/lolita/menu/_columns_body.html.haml
lolita-menu-0.0.11 app/views/components/lolita/menu/_columns_body.html.haml
lolita-menu-0.0.10 app/views/components/lolita/menu/_columns_body.html.haml
lolita-menu-0.0.9 app/views/components/lolita/menu/_columns_body.html.haml
lolita-menu-0.0.8 app/views/components/lolita/menu/_columns_body.html.haml
lolita-menu-0.0.6 app/views/components/lolita/menu/_columns_body.html.haml