@extends('layouts.shell') @section('title', 'Teams') @section('subtitle', 'Master teams. The same team can be assigned to many tournaments.') @section('actions') + Add Team @endsection @section('content')
Clear
Teams {{ $teams->total() }} team{{ $teams->total() === 1 ? '' : 's' }}
@forelse ($teams as $team) @empty @endforelse
Name Province City Status
{{ $team->name }} {{ $team->province?->name ?? '—' }} {{ $team->city?->name ?? '—' }} {{ $team->is_active ? 'Active' : 'Inactive' }} View Edit
@csrf
No teams yet.
{{ $teams->links() }}
@endsection @push('scripts') @endpush