Sha256: f33391ec91a1c14164228c7b558821da32ce4ece9974ffcafdedbe9fe9ae2c8c
Contents?: true
Size: 1.05 KB
Versions: 148
Compression:
Stored size: 1.05 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)"> <%= 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
148 entries across 148 versions & 1 rubygems