Sha256: 942097fa5d12c261479b316bfc81a65c75cb8f2e9ad021171d4840e8d5afd6b6
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
<%= pb_content_tag(:div, **combined_html_options) do %> <%= pb_rails("table/table_row", props: {tag:"div"}) do %> <% object.column_definitions.each_with_index do |item, index| %> <%= pb_rails("table/table_header", props: { tag:"div", id:item[:accessor], classname:object.th_classname}) do %> <%= pb_rails("flex", props:{ align: "center", justify: index.zero? ? "start" : "end", text_align:"end" }) do %> <% if index.zero? && (object.enable_toggle_expansion == "header" || object.enable_toggle_expansion == "all") %> <button class="gray-icon toggle-all-icon"> <%= pb_rails("icon", props: { icon: "arrows-from-line", cursor: "pointer", fixed_width: true, padding_right:"xs" }) %> </button> <% end %> <%= item[:label] %> <% end %> <% end %> <% end %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 | app/pb_kits/playbook/pb_advanced_table/table_header.html.erb |