Sha256: 307d27249ba9c57977477371ebdbda830ee2acd71744b9f5bde936f72e472a94
Contents?: true
Size: 1.46 KB
Versions: 173
Compression:
Stored size: 1.46 KB
Contents
<%= content_tag(:div, aria: object.aria, class: object.classname, data: object.data, id: object.id) do %> <% object.column_definitions.each_with_index do |column, index| %> <%= pb_rails("table/table_cell", props: { tag: "div", classname: object.td_classname}) do %> <%= pb_rails("flex", props:{ align: "center", justify: "start" }) do %> <div style="padding-left: <%= depth * 1.25 %>em"> <%= pb_rails("flex", props:{align: "center", column_gap: "xs"}) do %> <% if index.zero? && object.row[:children].present? %> <button class="gray-icon toggle-all-icon" onclick="expandAllSubRows(this, <%= depth %>)"> <%= pb_rails("icon", props: { icon: "arrows-from-line", cursor: "pointer", fixed_width: true, padding_right:"xs" }) %> </button> <% end %> <%= pb_rails("flex/flex_item") do %> <% if index.zero? %> <%= pb_rails("caption", props: { margin_left: object.row[:children].present? ? "none" : "xs", text: object.subrow_header }) %> <% end %> <% end %> <% end %> </div> <% end %> <% end %> <% end %> <% end %>
Version data entries
173 entries across 173 versions & 1 rubygems