Sha256: 2c7f07221af34f3b52b51b5989102bb112e6ea877a9f370e9511425df9ed0287
Contents?: true
Size: 1009 Bytes
Versions: 8
Compression:
Stored size: 1009 Bytes
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}) 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
8 entries across 8 versions & 1 rubygems