@extends('layouts.shell') @section('title', $scorer->name) @section('subtitle', 'Assign a whole tournament, or only the matches this scorer should open.') @section('actions') All scorers @endsection @section('content')
@csrf @method('PUT')

Account

@csrf

Assignment

Whole tournament shows every current and future match. Selected matches show only the ones you tick.

@error('tournament_id'){{ $message }}@enderror @if ($selected)
@forelse ($matches as $index => $match) @empty

This tournament has no matches yet. Assign the whole tournament, or create matches first.

@endforelse
@endif @error('match_ids'){{ $message }}@enderror
Current assignments
@forelse ($assignments as $assignment) @empty @endforelse
TournamentAccess
{{ $assignment->tournament?->title }} @if ($assignment->coversTournament()) Whole tournament @else {{ $assignment->match?->title }} — {{ $assignment->match ? $labels->sideLabel($assignment->match) : 'Match removed' }} @endif
@csrf @method('DELETE')
Nothing assigned yet.
@endsection @push('scripts') @endpush