@extends('layouts.main_dashboard.app') @section('title', __('dashboard.Grades') . ' | ' . __('dashboard.Edit Grade')) @section('content') @php $currentYearId = old('year_id', $grade->stage?->term?->year_id); $currentTermId = old('term_id', $grade->stage?->term_id); $currentStageId = old('stage_id', $grade->stage_id); @endphp

{{ __('dashboard.Grade Form') }}

{{ __('dashboard.Edit Grade') }}

تعديل بيانات الصف الدراسي مع الحفاظ على التسلسل الأكاديمي الحالي.

@csrf @method('PUT')
@error('term_id')

{{ $message }}

@enderror
@error('stage_id')

{{ $message }}

@enderror
@foreach($gradeLocales as $locale => $label)
getStoredTranslation($locale)) }}" {{ $locale === 'ar' ? 'required' : '' }} dir="{{ $locale === 'ar' ? 'rtl' : 'ltr' }}" class="w-full rounded-2xl border border-surface-200 bg-white px-4 py-3 text-sm text-surface-700 outline-none transition focus:border-sky-400 dark:border-surface-700 dark:bg-surface-950 dark:text-surface-100" > @if($locale === 'ar')

{{ __('dashboard.This value will be used as the primary Arabic name.') }}

@endif @error("name_translations.$locale")

{{ $message }}

@enderror
@endforeach
{{ __('dashboard.Cancel') }}
@endsection @section('scripts') @endsection