@extends('layouts.organization') @section('breadcrumb')

{{__('Upload Course')}}

@endsection @section('content')
  • {{ __('Course Overview') }}
  • {{ __('Upload Video') }}
  • {{ __('Submit Process') }}
@csrf
Type:
upload

{{ __('No file selected') }} (MP4 or WMV)

@if ($errors->has('video_file')) {{ $errors->first('video_file') }} @endif
@if ($errors->has('youtube_url_path')) {{ $errors->first('youtube_url_path') }} @endif
@if ($errors->has('vimeo_upload_type')) {{ $errors->first('vimeo_upload_type') }} @endif
upload
@if ($errors->has('vimeo_url_path')) {{ $errors->first('vimeo_url_path') }} @endif
@if ($errors->has('vimeo_url_uploaded_path')) {{ $errors->first('vimeo_url_uploaded_path') }} @endif
@if ($errors->has('vimeo_file_duration')) {{ $errors->first('vimeo_file_duration') }} @endif
{{--
{{ $lecture->text }}
--}} {{-- --}}
@if($lecture->image) @else @endif

{{__('Image')}}

@if ($errors->has('image')) {{ $errors->first('image') }} @endif

{{ __('Preferable image size') }}: (1MB)

{{ __('Preferable filetype') }}: jpg, jpeg, png

upload
upload
@if ($errors->has('text_description')) {{ $errors->first('text_description') }} @endif @if ($errors->has('image')) {{ $errors->first('image') }} @endif @if ($errors->has('pdf')) {{ $errors->first('pdf') }} @endif @if ($errors->has('slide_document')) {{ $errors->first('slide_document') }} @endif @if ($errors->has('audio')) {{ $errors->first('audio') }} @endif
@if ($errors->has('youtube_file_duration')) {{ $errors->first('youtube_file_duration') }} @endif
@if($course->drip_content == DRIP_AFTER_DAY)
@if ($errors->has('after_day')) {{ $errors->first('after_day') }} @endif
@elseif($course->drip_content == DRIP_UNLOCK_DATE)
@if ($errors->has('unlock_date')) {{ $errors->first('unlock_date') }} @endif
@elseif($course->drip_content == DRIP_PRE_IDS)
@php $pre_ids = ($lecture->pre_ids) ? json_decode($lecture->pre_ids) : []; @endphp @if ($errors->has('pre_ids')) {{ $errors->first('pre_ids') }} @endif
@endif
{{__('Back')}}
@endsection @push('style') @endpush @push('script') @endpush