@php use App\Enums\WorkFlow\ActionType; @endphp
Loading...
Edit Work Flow
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
Name
Sort
@php // children is a JSON array of IDs, like: ["2", "3", "4"] $selectedIds = collect(old('children', $flow->children ?? []))->map(fn($id) => (string) $id); @endphp
{{--
Type @foreach(\App\Enums\WorkFlow\WorkFlowType::cases() as $case) @endforeach
--}}
Update
@push('script') @endpush