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

Add Carousel

@csrf
@error('title') {{ $message }} @enderror
Allowed formats: jpeg, png, jpg, webp @error('main_image') {{ $message }} @enderror

Carousel List

@if ($carousels->isEmpty())

No carousels found

@else @foreach ($carousels as $item) @endforeach
ID Image Title Actions
{{ $loop->iteration }} @if ($item->main_image) {{ $item->title }} @else No image @endif {{ $item->title }}
@csrf @method('DELETE')
@endif
{{-- edit modal --}} @foreach ($carousels as $item) @endforeach @endsection @push('scripts') @endpush