@extends('apex-layouts.main') @section("title",($model->name)?ucfirst($model->name):"Add A New Categories") @section('header-right') @if($model->exists) @endif Go Back @endsection @section('content')
@if ($model->exists) @method('PUT') @endif @csrf

Categories Info

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('slug')) {{ $errors->first('slug') }} @endif
@if ($errors->has('logo')) {{ $errors->first('logo') }} @endif
imageLogo->filePath."/".$model->imageLogo->title:env("NO_IMAGE_URL")}}" class="img-thumbnail img-xl">
@endsection