{% set columns = section.render_columns %} {% if section.rows %} {% set weight = columns|sum(attribute='width') %} {% if not section.automatic_widths %}{% for column in columns %}{% endfor %}{% endif %} {% if section.show_header %}{% for column in columns %}{% endfor %}{% endif %} {% for row in section.rows %}{% set columns = section.columns_for(loop.index0) %}{% set options = section.row_options.get(loop.index0|string) %}{% for column in columns %}{% set value = row[loop.index0] %}{% endfor %}{% endfor %}
{{ column.label|ui }}
{{ value|cell(column) }}
{% else %}

{{ section.empty_text|ui }}

{% endif %}