@extends('adminlte::page') @section('content') Edit Event Gallery Home Event Gallery Edit Event Gallery Edit Event Gallery Form @csrf Event Name: Select Year: Visibility: visibility == 1 ? 'selected' : '' }}>Visible visibility == 2 ? 'selected' : '' }}>Archive visibility == 0 ? 'selected' : '' }}>Invisible Event Image: @foreach ($photos as $index => $photo) is_primary ? 'checked' : '' }} onclick="selectPrimaryImage(this)"> Thumbnail Delete @endforeach @if ($photos->isEmpty()) Thumbnail Remove @endif Add More Image {{--Event Video Link: @foreach($videos as $index => $video) is_primary ? 'checked' : '' }} onclick="selectPrimaryVideo(this)"> Delete @endforeach @if ($videos->isEmpty()) Remove @endif --}} Event Video Links: @foreach($videos->whereNotNull('link') as $index => $video) is_primary ? 'checked' : '' }} onclick="selectPrimaryVideo(this)"> Thumbnail Delete @endforeach Add More Video Link {{--Event Video Files: @foreach($videos as $index => $video) is_primary ? 'checked' : '' }} onclick="selectPrimaryVideo(this)"> @if($video->event_video_file) Current File: {{ $video->event_video_file }} @endif Delete @endforeach @if ($videos->isEmpty()) Remove @endif --}} Event Video Files: @foreach($videos->whereNotNull('event_video_file') as $index => $video) is_primary ? 'checked' : '' }} onclick="selectPrimaryVideo(this)"> Thumbnail Your browser does not support the video tag. Delete @endforeach Add More Video File {{--Event Videos (Link + File): @foreach($videos as $index => $video) is_primary ? 'checked' : '' }} onclick="selectPrimaryVideo(this)"> @if($video->event_video_file) Current File: {{ $video->event_video_file }} @endif Delete @endforeach @if ($videos->isEmpty()) Remove @endif Add More Video --}} @stop @section('js') @stop @section('css') @stop
Current File: {{ $video->event_video_file }}