@extends('layouts.app') @section('content')
<- Back
@php $video_name="" ; @endphp @if (!empty($video->url)) @php $array = explode('/', $video->url); $video_name = end($array); @endphp @endif

{{ __('Edit video (' . $video_name . ') in module:') }}
{{ $module->name }}

@csrf
{{ __('Format:') }} {{ __('png, jpg, jpeg') }}
{{ __('Dimensions:') }} 180x270
@if ($errors->has('image')) {{ $errors->first('image') }} @else
{{ __('The image field is required.') }}
@endif
{{ $video_name }}
{{ __('Format:') }} {{ __('mp4') }}
@if ($errors->has('video')) {{ $errors->first('video') }} @else
{{ __('The video field is required.') }}
@endif
@if ($errors->has('orientation')) {{ $errors->first('orientation') }} @else
{{ __('The orientation field is required.') }}
@endif
type === 1 ? ' checked' : '' }}>
@endsection