@extends('admin.layouts.home') @section('title', __('Edit Blog Category')) @section('content')

{{ __('Edit Blog Category') }}: {{ $blogCategory->name }}

{{ __('Back to Categories') }}
{{ __('Category Information') }}
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
{{ __('Basic Information') }}
@error('name')
{{ $message }}
@enderror {{ __('This will be used to generate the URL slug automatically.') }}
@error('description')
{{ $message }}
@enderror {{ __('A brief description of this category. This will help users understand what content belongs here.') }}
{{ __('Preview') }}
{{ $blogCategory->name }}

{{ $blogCategory->description ?: __('Category description will appear here...') }}

{{ $blogCategory->slug }}
{{ __('Status Options') }}
@error('status')
{{ $message }}
@enderror {{ __('Active categories will be visible to users.') }}
{{ __('Current Information') }}
{{ __('The slug is automatically generated from the name.') }}
{{ $blogCategory->blogs->count() }}

{{ __('Created') }}: {{ $blogCategory->created_at->format('M d, Y H:i') }}

{{ __('Last Updated') }}: {{ $blogCategory->updated_at->format('M d, Y H:i') }}

@endsection @push('scripts') @endpush