@extends('manager.layouts.app') @section('page_title') {{ !empty($page_title) && isset($page_title) ? $page_title : 'Blogs Category' }} @endsection @push('head-scripts') @endpush @section('content')
{{-- Start: Page Content --}}

Blogs category

Edit Blog Category

{{-- Start: Form --}}
@csrf @method('PUT')
@error('name') {{ $message }} @enderror
Leave empty to auto-generate from category name @error('slug') {{ $message }} @enderror
@error('description') {{ $message }} @enderror
@php $colorValue = old('color', $category->color ?? '#0d6efd'); @endphp
Choose a color to represent this category in the frontend @error('color') {{ $message }} @enderror
Lower numbers appear first @error('order') {{ $message }} @enderror
@php // Determine the selected status $status = old('is_active', $category->is_active ?? 1); @endphp
@error('is_active') {{ $message }} @enderror
Cancel
{{-- End: Form --}} {{-- Page Description : Start --}} @if (!empty($p_description) && isset($p_description)) @endif {{-- Page Description : End --}} {{-- End: Page Content --}}
@endsection @push('footer-scripts') {{-- Toastr : Script : Start --}} @if (Session::has('messages')) @endif {{-- Toastr : Script : End --}} @endpush