@section('title', 'Edit Course Category') @push('style') @endpush @push('script') @endpush @section('toolbar') @endsection
@csrf

Image

image && Storage::disk('elegant')->exists($category->image)) style="background-image: url({{ Storage::disk('elegant')->url($category->image) }})" @endif>
Set the profile picture. Only *.png, *.jpg and *.jpeg image files are accepted
@error('image')
{{ $message }}
@enderror

Status

Set the category status.

Category Details

@foreach ($languages as $id => $language) @php $languageCode = strtolower($language); $categoryLocale = isset($categoriesLocale[$languageCode]) ? $categoriesLocale[$languageCode]->first() : null; // Check if data is available for the current language @endphp
@error('title.' . strtolower($language))
{{ $message }}
@enderror
@error('description.' . $languageCode)
{{ $message }}
@enderror
@endforeach
@error('parent_category_id')
{{ $message }}
@enderror
Cancel