@extends('admin.admin-layouts.main-layout') @php if(!empty($category)) { $title = "Edit Category"; } else { $title = "Add Category"; } @endphp @section('title', $title) @section('content')
$type, "category" => $category->encrypted_id]) : route('add.category', $type) }}" method="POST" enctype="multipart/form-data"> @csrf
@if (session('error')) @endif
@if($type == 'doctors')
@endif
Back
@endsection