@extends('admin.layouts.main') @section('content')

{{ trans('messages.Problems') }}

@foreach ($problems as $key => $problem) @endforeach
# {{ trans('messages.Client') }} {{ trans('messages.Exam') }} {{ trans('messages.Question') }} {{ trans('messages.Type') }} {{ trans('messages.Created') }} {{ trans('messages.Options') }}
{{ $key + 1 + ($problems->currentPage() - 1) * $problems->perPage() }} {{ $problem->user ? $problem->user->name : trans('messages.Guest') }} {{ $problem->exam->{'name_' . App::getLocale()} }} {{ $problem->question->{'question_' . App::getLocale()} }} {{ trans('messages.' . $problem->problem_type) }} {{ $problem->created_at }}
@csrf @method('DELETE')
{!! $problems->withQueryString()->links('pagination::bootstrap-4') !!}
@endsection @section('modal') @endsection @section('script') @endsection