@csrf @method("patch")
{{ __("Name") }}
{{ __("Save") }} {{ __("Cancel") }}

{{ __("Questions") }}

@csrf
{{ __("Add question") }}
@foreach ($questions as $question) @endforeach
{{ __("Question") }} {{ __("Answer") }} {{ __("Points") }}
{{ $question->question }} {{ $question->answer }} {{ $question->points }} {{ __("Edit") }}
@csrf @method("delete") {{ __("Delete") }}

{{ __("Assigned students") }}

@csrf
{{ __("Student") }} @if (sizeof($students) == 0) @endif @foreach ($students as $student) @endforeach
{{ __("Add student") }}
@foreach ($assigned_students as $student) @endforeach
{{ __("Student") }} {{ __("Can take test") }}
{{ $student->name }} {{ __($student->allowed ? "Yes" : "No") }} @if (!$student->allowed) {{ __("Allow to take test") }} @endif
@csrf @method("delete") {{ __("Delete") }}

{{ __("Test results") }}