Sha256: 4e9f774f6fc8b8f81efa314be317d01c87b4273aee552ff8c5bf6fecada18312
Contents?: true
Size: 1.13 KB
Versions: 59
Compression:
Stored size: 1.13 KB
Contents
<%= pb_content_tag 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, sort_menu: item[:sort_menu] }) 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" onclick="expandAllRows(this); event.preventDefault();"> <%= 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
59 entries across 59 versions & 1 rubygems