@extends('layouts.app') @section('content') @if(count($participants) > 0)
@csrf
{{----}} Download As CSV
@foreach($participants as $participant) @endforeach
Sl No Name Email Type Submission Date Action
{{ $loop->index + 1 }} {{ $participant->name }} {{ $participant->email }} {{ config('video_type')[$participant->video_type] }} {{ $participant->created_at->format('d-m-Y') }} {{--View Video--}} View Video
Showing {{ $participants->firstItem() }} to {{ $participants->lastItem() }} of {{ $participants->total() }} results
{{ $participants->links('pagination::bootstrap-4') }}
@else No record found! @endif @endsection @section('customScripts') @endsection