@extends('layouts.admin') @section('breadcrumb', 'Edit Category') @section('content')

Edit Category

Update {{ $category->name }} details

@csrf @method('PUT') @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@error('name')

{{ $message }}

@enderror
@error('description')

{{ $message }}

@enderror
@if($category->image)
{{ $category->name }}
@endif

or drag and drop

PNG, JPG, GIF up to 6MB

@error('image')

{{ $message }}

@enderror
is_active) ? 'checked' : '' }} class="h-4 w-4 text-[#00BDE0] focus:ring-[#00BDE0] border-gray-300 rounded">
@error('sort_order')

{{ $message }}

@enderror

Category Statistics

Total Books: {{ $category->books_count }}
Active Books: {{ $category->active_books_count }}
Created: {{ $category->created_at->ist()->format('M d, Y') }}
Last Updated: {{ $category->updated_at->ist()->format('M d, Y') }}
@endsection