{#
 # Display Item Column
 #
 # Parameters:
 #   admin_list: AdminList object
 #   column:     ColumnConfiguration object
 #   route:      Route to use, else current route is used
 #   ordering:   Current ordering
 #   item:       Item
 #
 #}

{% if column.Field is not empty %}
    {% set value = attribute(item, column.Field) %}
{% else %}
    {% set value = '' %}
{% endif %}

<td class="{{column.ItemClass}}">
    {% block container %}
    {{value}}
    {% endblock container %}
</td>
