<x-app-layout>
    <x-slot name="header">{{__('Teams Management')}}</x-slot>

    <x-container>
        <x-card>
            <livewire:game-engine.admin.teams.table :organization="$organization"/>

            <x-slot name="actions">
                @can('create', \game_engine()->teamClass())
                    <x-link :href="route('game-engine.admin.teams.create')">
                        {{__("Create Team")}}
                    </x-link>
                @endcan
            </x-slot>
        </x-card>
    </x-container>
</x-app-layout>
