[%- for column in columns %]
{% if has_permission("[[ name|camel_to_snake ]]", "[[ column.name ]].read", instance, object_prefix="columns", action_prefix="column") %}
{% if "[[ column.name ]]" not in skip_list %}
[%- if column.type in ['relationship'] and column.multiple %]{{ _("[[ column.name|pluralize ]]") }}[%- else %]{{ _("[[ column.name ]]") }}[%- endif %]:
[%- if not column.type in ['bool', 'boolean', ] %]
[%- if column.type in ['relationship'] and column.multiple %]
{% if not instance.[[ column.name|pluralize ]] %}{% else %}
[%- else %]
{% if not instance.[[ column.name ]] %}{% else %}
[%- endif %]
[%- endif %]
[%- if column.type in ['picture', 'image', 'img'] %]
[%- elif column.type in ['video'] %]
[%- elif column.type in ['audio'] %]
[%- elif column.type in ['relationship'] %]
[%- if column.multiple %]
{% for instance in instance.[[ column.name|pluralize ]] %}
{% include "[[ column.name|camel_to_snake ]]/_list_item.html" %}
{% endfor %}