Sha256: 0f2edba2e66a7c1f4726de36e19eee815bd21a343cd2264c3c3a7807b88493dd

Contents?: true

Size: 718 Bytes

Versions: 10

Compression:

Stored size: 718 Bytes

Contents

<% if object.responsive_classname %>
  <% responsive_class = object.responsive_classname %>
<% else %>
  <% responsive_class = nil %>
<% end %>

<%= content_tag(:div, class: responsive_class, 'data-pb-table-wrapper' => true) do %>
  <% if object.tag == "table" %>
    <%= content_tag(:table,
      aria: object.aria,
      class: object.classname,
      data: object.data,
      id: object.id,
      **combined_html_options) do %>
      <%= content.presence %>
    <% end %>
  <% else %>
    <%= content_tag(:div,
      aria: object.aria,
      class: object.classname,
      data: object.data,
      id: object.id,
      **combined_html_options) do %>
      <%= content.presence %>
    <% end %>
  <% end %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_table/table.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_table/table.html.erb
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_table/table.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_table/table.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_table/table.html.erb
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_table/table.html.erb
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_table/table.html.erb
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_table/table.html.erb
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_table/table.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_table/table.html.erb