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

Version Path
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12820 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12816 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-13.25.0.pre.alpha.PBNTR291Dropdownrailsv22812 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-13.26.0 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2785 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2783 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-13.25.0.pre.alpha.PBNTR272Dropdownkitv42769 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-13.25.0.pre.alpha.barchartfix2766 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb