@extends('admin.layouts.main-layout') @php if (!empty($type->encrypted_id)) { $title = 'Edit Type'; } else { $title = 'Add Type'; } @endphp @section('title', $title) @section('content')
@csrf
@if (session('error')) @endif
@error('type_name')
{{ $message }}
@enderror
Back
{{-- --}} @endsection