Sha256: 0f28234a49710bf3f7bac2591546dd6e263257d35d0cf53929f3af2c3f2a4991

Contents?: true

Size: 251 Bytes

Versions: 8

Compression:

Stored size: 251 Bytes

Contents

- if object.head? or object.rows?
  - tag :table, object.merge_html_attributes(class: " the_table") do
    - if object.head?
      %thead
        %tr
          - object.head.each do |item|
            %th= item

    %tbody= object.rows.to_a.join("\n")

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rad_common_interface-0.0.14 app/views/themes/default/table.html.haml
rad_common_interface-0.0.13 app/views/themes/default/table.html.haml
rad_common_interface-0.0.12 app/views/themes/default/table.html.haml
rad_common_interface-0.0.11 app/views/themes/default/table.html.haml
rad_common_interface-0.0.10 app/views/themes/default/table.html.haml
rad_common_interface-0.0.9 app/views/themes/default/table.html.haml
rad_common_interface-0.0.8 app/views/themes/default/table.html.haml
rad_common_interface-0.0.7 app/views/themes/default/table.html.haml