{# Table rows fragment — no Alpine, column visibility via data-dz-col #} {% if table and table.rows %} {% set _row_label_col = namespace(key="id") %} {% for col in table.columns %}{% if col.type not in ["ref", "badge", "bool", "currency"] and _row_label_col.key == "id" %}{% set _row_label_col.key = col.key %}{% endif %}{% endfor %} {% for item in table.rows %} {% set _row_label = item[_row_label_col.key] | default(item.id) %} {% set _row_label = _row_label | ref_display if _row_label is mapping else _row_label %}