@extends('layouts.admin') @section('title', $category->exists ? 'Edit Category' : 'Add Category') @section('heading', $category->exists ? 'Edit Category' : 'Add Category') @section('content')
@csrf @if($category->exists) @method('put') @endif
Cancel
@endsection