@extends('layouts.app') @php $locale = app()->getLocale(); $isRtl = $locale === 'ar'; $currency = \App\Models\Setting::currencyLabel($locale); @endphp @section('title', ($isRtl ? 'تعديل حصة' : 'Edit Class') . ' - ' . ($isRtl && $gymClass->name_ar ? $gymClass->name_ar : $gymClass->name)) @section('content')

{{ $isRtl ? 'تعديل حصة' : 'Edit Class' }}

{{ $isRtl && $gymClass->name_ar ? $gymClass->name_ar : $gymClass->name }}

@if($errors->any())

{{ $isRtl ? 'يرجى تصحيح الأخطاء التالية:' : 'Please fix the following errors:' }}

@endif
@csrf @method('PUT')
{{ $currency }}
{{ $isRtl ? 'إلغاء' : 'Cancel' }}
@endsection