@php use App\Enums\StatusEnum; @endphp @extends('layout.admin') @section('content')

Video All Video

All Video

@if (count($videos) > 0) @foreach ($videos as $key => $video) @endforeach
# Title Embed Code Photo Status Action
{{ $key + 1 }} {{ $video->title }} {{ $video->embed_code }} @if($video->embed_code) {{ $video->title }} @endif @if($video->status == StatusEnum::ACTIVE->value) Active @else Inactive @endif Edit | @if (auth()->user()->role_id == 1)
@csrf @method('DELETE')
@endif
@else @include('admin.partial.data-not-found') @endif
@endsection