{{-- resources/views/probation/training/create.blade.php — course details (5.3), trainer from directory (5.2) --}} @extends('layouts.app') @section('title', (isset($course) ? 'Edit' : 'New') . ' Course - ICMIS') @section('content') @php $c = $course ?? null; $v = fn ($k, $d = '') => old($k, $c->{$k} ?? $d); @endphp

{{ $c ? 'Edit' : 'New' }} Training Course

@if($errors->any())
@endif
@csrf @if($c) @method('PUT') @endif
Cancel
@endsection