<div>
    <div class="flex justify-between items-center border-b pb-[15px]">
    <div class="font-semibold text-[16px]">Колонки</div>
    <div class="flex gap-4">
        {{{button this token=(token table='admin.custom_column' obj=(concat 'entity=' entity) form='admin.custom_column.form') add=1 title='Додати'}}}
    </div>
    </div>
    <div  class="overflow-x-auto [&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300">
        {{#contentList table='admin.custom_column' query="entity='{{entity}}'" order='cdate desc' }}
            {{{tableList rows table='admin.custom_column' id='column_id' form="admin.custom_column.form" uid=../user.uid
            comma=';'
            nodata=1
            columns="   Назва, name,
                        Таблиця, entity,
                        Підпис, title,
                        Формат, format,
                        Дані, data,
                        Автор, {{select uid data='core.user_uid'}}
                    "
            }}}
        {{/contentList}}
    </div>   
</div>