@extends('admin.layouts.layouts') @section('content')

Edit Teacher

@csrf @method('PUT') @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@forelse ($teacher->educationalStages as $stage) @php $stageYear = $stage->pivot->stage_year_id; $curriculumId = $stage->pivot->curriculum_id; @endphp
@empty
@endforelse
@if ($errors->has('image')) {{ $errors->first('image') }} @endif @if (isset($teacher) && $teacher->image)
Profile Image
@endif
@if (isset($teacher) && $teacher->cv) @endif
@endsection @push('js') @include('admin.teachers.shared.input_group'); @endpush