@extends('admin.layouts.admin') @section('content')
{{ $title }}
@if($action == 'Edit')
@csrf @else @csrf @endif
@if(isset($record->title)) @php $title=$record->title @endphp @elseif(old('title')) @php $title=old('title') @endphp @else @php $title='' @endphp @endif @error('title')
{{ $message }}
@enderror
@if(isset($record->active)) @if($record->active==1) @php $active='checked' @endphp @else @php $active='' @endphp @endif @else @php $active='checked' @endphp @endif
@endsection