<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.user_roles" obj=(concat 'role_id=' @root.id) form="admin.user_roles_card.form") add=1 title="Додати"}}}
    </div>
    </div>
        {{#contentList table="(select * from admin.user_roles where role_id='{{id}}')" limit="50" sql1=1}}
        {{{tableList
            rows
            form="admin.user_roles_card.form"
            columns="Користувач,<a class='text-blue-500' href='/card/admin.users.table/{{user_uid}}'>{{select user_uid data='core.user_uid'}}</a>" 
            table="admin.user_roles" 
            id="ugr_id" 
            uid=../user.uid
        }}}
        {{/contentList}}
</div>