@extends('Admin.Views.edit') @include('auth::sidebar') @section('editform') @php if (! isset($data)) { $old = old(); if (! empty($old)) { $data = $old; } else { $data = []; } } @endphp @if (isset($data['id'])) @endif @endsection