Edit Instructor

{{ isset($user) ? 'Edit Instructor' : 'New Instructor' }}

{{ isset($user) ? 'Update your instructor details.' : 'Add a new instructor.' }}

@csrf @if (isset($user)) @method('patch') @endif
@php $imageUrl = asset('images/avatar.jpg'); if (isset($user) && $user->image) { $localPath = 'images/instructors/' . $user->image; if (Storage::disk('public')->exists($localPath)) { $imageUrl = asset('storage/images/instructors/' . $user->image); } } @endphp
Instructor Image