Sha256: 659a528360753ca809456a1af4960076b9c4c908218e5f07c910608e6de4ba4d

Contents?: true

Size: 692 Bytes

Versions: 5

Compression:

Stored size: 692 Bytes

Contents

.overflow-y-auto class=(table.view_condensed? ? "mensa-table__condensed" : "") data-mensa-table-target="view"
  table.w-full
    - if table.show_header?
      thead
        tr
          = render(Mensa::Header::Component.with_collection(table.columns.select(&:visible?).reject(&:internal?), table: table))
          - if table.actions?
            th

    tbody
      = render(Mensa::TableRow::Component.with_collection(table.rows, table: table))

  - if table.pagy_details&.pages > 1 || table.pagy_details.count == 0
    .paging
      == pagy_info(table.pagy_details)
      - if table.pagy_details&.pages > 1
        == pagy_nav(table.pagy_details, anchor_string: 'data-turbo-frame="_self"')

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mensa-0.1.15 app/components/mensa/view/component.html.slim
mensa-0.1.14 app/components/mensa/view/component.html.slim
mensa-0.1.13 app/components/mensa/view/component.html.slim
mensa-0.1.12 app/components/mensa/view/component.html.slim
mensa-0.1.10 app/components/mensa/view/component.html.slim