@extends('components.dashboard.layouts.master') @section('styles') @stack('datatableStyles') @endsection @section('title') {{ __('Student Exam Levels') }} @endsection @section('styles') @endsection @section('content')

{{ __('Edit Student Exam Levels') }}

{{-- Show Server Validation Errors --}} @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
@foreach ($data as $index => $level) @php $key = $level->id ?? $index; @endphp @endforeach
{{ __('Level') }} {{ __('From %') }} {{ __('To %') }} {{ __('Question Number') }} {{ __('Easy %') }} {{ __('Medium %') }} {{ __('Hard %') }}
{{ __(ucfirst($level->name)) }} from_percent) }}" min="0" max="100" required> to_percent) }}" min="0" max="100" required> question_number) }}" min="1" required> easy_percent) }}" min="0" max="100" required> medium_percent) }}" min="0" max="100" required> hard_percent) }}" min="0" max="100" required>
{{-- JS validation error message --}}
@endsection @section('script') @stack('datatableScripts') @endsection