{{ __('Tournament Information') }}

{{ __('You can edit the tournament data') }}

$isEditable === false, ]) > @error('tournament.name')

{{ $message }}

@enderror
$isEditable === false, ]) > @error('tournament.number_of_players')

{{ $message }}

@enderror
$isEditable === false, ]) > @error('tournament.entrance_fee')

{{ $message }}

@enderror
@error('tournament.game_type_id')

{{ $message }}

@enderror
@if($isCancelable) @if($isEditable) @endif @endif

{{ __('Participants list') }}

{{ __('List of participants and their results') }}

@forelse($tournament->participants as $participant) @php $positif = $participant->isParticipantScorePositif(); $negatif = $participant->isParticipantScoreNegative(); @endphp $positif, 'bg-red-300' => $negatif, ]) > @empty @endforelse
{{ __('Name') }} {{ __('Victories') }} {{ __('Pats') }} {{ __('Draws') }} {{ __('Losses') }}
{{ $participant->name ?? "-" }} {{ $participant->pivot->wins ?? "" }} {{ $participant->pivot->pats ?? "-" }} {{ $participant->pivot->draws ?? "-" }} {{ $participant->pivot->losses ?? "-" }}

{{ __('No participants') }}

@if($isStarted)

{{ __('Register a result') }}

{{ __('You can fill in the results of the games') }}

@error('game.player1.id')

{{ $message }}

@enderror
@error('game.player1.result')

{{ $message }}

@enderror
@error('game.player2.id')

{{ $message }}

@enderror
@error('game.player2.result')

{{ $message }}

@enderror
@endif