@extends('backEnd.master') @section('title') @lang('front_settings.video_gallery') @endsection @section('mainContent')
@if (isset($add_video_gallery)) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'video-gallery-update', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @else @if (userPermission('video-gallery-store')) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'video-gallery-store', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @endif @endif

@if (isset($add_video_gallery)) @lang('front_settings.edit_video_gallery') @else @lang('front_settings.video_gallery') @endif

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('video_link')) {{ $errors->first('video_link') }} @endif
@if(config('app.app_sync')) @else @endif
{{ Form::close() }}

@lang('front_settings.video_gallery_list')

@foreach ($videoGalleries as $key => $value) @php $variable = substr($value->video_link, 32, 11); @endphp @endforeach
@lang('common.sl') @lang('front_settings.name') @lang('front_settings.description') @lang('front_settings.thumbnail') @lang('common.action')
{{ $key + 1 }} {{ @$value->name }} {{ @$value->description }} @lang('common.view') @lang('common.edit') @lang('common.delete')
@endsection @include('backEnd.partials.data_table_js') @push('script') @endpush