@extends('backend.layouts.app') @section('title', 'Create Video') @section('content') @php $pageTitle = 'Create Video'; $indexRoute = 'content-video.index'; $indexLabel = 'Videos'; @endphp @include('backend.layouts.partials._page_header')
@csrf

Translations

@php $firstLang = array_key_first($languages->toArray()); $mainLangCode = $firstLang; foreach ($languages as $code => $descr) { if (old('translations.' . $code . '.main')) { $mainLangCode = $code; break; } } $titleErrorLang = null; foreach ($languages as $code => $descr) { if ($errors->has('translations.' . $code . '.title')) { $titleErrorLang = $code; break; } } $initialLang = $titleErrorLang ?? $mainLangCode; @endphp
@foreach ($languages as $code => $descr)
@error('translations.' . $code . '.title')

{{ $message }}

@enderror
@endforeach
@foreach ($languages as $code => $descr)
@endforeach

Video Information

@php $inputBaseClass = 'dark:bg-dark-900 shadow-theme-xs focus:border-brand-300 focus:ring-brand-500/10 dark:focus:border-brand-800 h-11 w-full rounded-lg border bg-transparent px-4 py-2.5 text-sm text-gray-800 placeholder:text-gray-400 focus:ring-3 focus:outline-hidden dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30'; $inputClass = $inputBaseClass . ' border-gray-300 dark:border-gray-700'; @endphp
@error('video_code')

{{ $message }}

@enderror
@error('video_category')

{{ $message }}

@enderror
@error('video_status')

{{ $message }}

@enderror
@error('video_date')

{{ $message }}

@enderror
@error('video_source')

{{ $message }}

@enderror
@error('video_sorting')

{{ $message }}

@enderror
@include('backend.layouts.partials._upload-hint', ['text' => 'Video thumbnail · 1280 × 720 px · JPG, PNG, WebP · Max 15MB']) @error('video_img')

{{ $message }}

@enderror
@error('publish_date_start')

{{ $message }}

@enderror
@error('publish_time_start')

{{ $message }}

@enderror
@error('publish_date_end')

{{ $message }}

@enderror
@error('publish_time_end')

{{ $message }}

@enderror
Cancel
@endsection @push('scripts') @endpush