@extends('layouts.shell') @section('title', $tournament->title) @section('subtitle', $whole ? 'Every match in this tournament is assigned to you.' : 'Only the matches assigned to you are listed.') @section('actions') {{ $list === 'completed' ? 'Complete tournaments' : 'Upcoming tournaments' }} @endsection @section('content')
Matches
@forelse ($matches as $match) @empty @endforelse
#MatchPlayersOversTime
{{ $loop->iteration }} {{ $match->title }}@if ($match->pool_label) · {{ $match->pool_label }}@endif {{ $labels->sideLabel($match) }} {{ (int) $match->overs }} {{ $match->starts_at?->format('d M Y H:i') }} Score
No matches assigned yet.
@if ($tournament->isSingleWicket())
@csrf

New match

Create a match here. It is added to your list.

@foreach ([1 => 'Side A', 2 => 'Side B'] as $number => $label)
{{ $label }}
@error('side_'.$number.'_user_id'){{ $message }}@enderror
@endforeach
@endif
@endsection @push('scripts') @endpush