{% for col in columns %}
{% set is_parent_id = parent_id_fields and col in parent_id_fields %}
|
{% set col_type = column_types.get(col, 'string') if column_types else 'string' %}
{% set constraints = column_constraints.get(col, {}) if column_constraints else {} %}
{% set ref_info = reference_fields.get(col, {}) if reference_fields else {} %}
{% set show_lookup = ref_info and not is_parent_id %}
{{ row.get(col, '')|display }}
{% if show_lookup %}
{% endif %}
|
{% endfor %}
{% if has_nested_children %}
{% endif %}
|