@extends($layout_path) @section('title', $app_setting['name'] . ' | Chapter Update') @section('header-title')

{{ __('Chapter - ') . $chapter->title }}

@endsection @section('content')

Uploading Contents ... /

Please do not close this window.

0%
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@error('title') {{ $message }} @enderror
@error('serial_number') {{ $message }} @enderror
{{ __('Contents') }}
@php $contentCounter = 1; @endphp @if (old('contents')) @forelse (old('contents', [1 => ['title' => '', 'serial_number' => 1]]) as $key => $content)
{{--
--}}
@if (old("contents.$key.title")) @endif

Upload File (Document, Audio, Video, Image)

@php $contentCounter++; @endphp @empty
no content available
@endforelse @else @forelse ($chapter->contents as $key => $content)
{{--
is_forwardable) checked @endif>
--}}
is_free) checked @endif id="isFree{{ $key }}">

Upload File (Document, Audio, Video, Image)

media_link ? '' : 'hidden' }}" id="duration{{ $key }}">
@php $contentCounter++; @endphp @empty
no content available
@endforelse @endif
@endsection @push('scripts') @endpush @push('styles') @endpush