@extends('admin.master') @section('title') Programs @endsection @section('content')

Add Program

@csrf
@error('program_name') {{ $message }} @enderror
Allowed formats: jpeg, png, jpg, gif @error('cover_image') {{ $message }} @enderror
@error('program_detail') {{ $message }} @enderror

Programs List

@if ($programs->isEmpty())

No programs found

@else @foreach ($programs as $item) @endforeach
ID Cover Image Program Name Actions
{{ $loop->iteration }} @if ($item->cover_image) {{ $item->program_name }} @else No image @endif {{ $item->program_name }}
@csrf @method('DELETE')
@endif
{{-- edit modal --}} @foreach ($programs as $item) @endforeach @endsection @push('styles') @endpush @push('scripts') @endpush