<?php
    $locale = request()->locale ?? app()->getLocale();
    $course = $course ?? null;

    if (!$course) {
        return;
    }
?>

<?php if (isset($component)) { $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb = $attributes; } ?>
<?php $component = Modules\LMS\View\Components\Dashboard\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Modules\LMS\View\Components\Dashboard\Layout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <?php $__env->startPush('css'); ?>
        <script src="<?php echo e(asset('lms/assets/js/vendor/sortable.min.js')); ?>"></script>
    <?php $__env->stopPush(); ?>
     <?php $__env->slot('title', null, []); ?> <?php echo e(translate('Edit Course')); ?> <?php $__env->endSlot(); ?>
    <?php if (isset($component)) { $__componentOriginalcf27f2c2c873893339708d5fdeeb6984 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.breadcrumb','data' => ['backUrl' => ''.e(route('course.index')).'','title' => 'Edit','pageTo' => 'Course']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.breadcrumb'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['back-url' => ''.e(route('course.index')).'','title' => 'Edit','page-to' => 'Course']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984)): ?>
<?php $attributes = $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984; ?>
<?php unset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984)): ?>
<?php $component = $__componentOriginalcf27f2c2c873893339708d5fdeeb6984; ?>
<?php unset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984); ?>
<?php endif; ?>

    <?php if(is_active('course.translate') === 'active'): ?>
        <div class="flex items-center justify-end gap-4 mb-2">
            <h2 class="card-title"><?php echo e(translate('Translate Language')); ?></h2>
            <form method="GET" class="sm:block" id="change-translate-language">
                <select onchange="window.location.href=this.options[this.selectedIndex].value" name="id"
                    class="text-gray-500 dark:text-dark-text dark:bg-dark-card-shade font-semibold bg-white focus:outline-none cursor-pointer select-none text-sm border dk-border-one px-2 py-2 rounded-md dk-theme-card-square">
                    <?php $__currentLoopData = app('languages'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($lang->code); ?>"
                            <?php echo e(isset($locale) && $locale == $lang->code ? 'selected' : ''); ?>>
                            <?php echo e($lang->name); ?>

                        </option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
            </form>
        </div>
    <?php endif; ?>

    <div class="mb-4">
        <div id="msform" class="*:hidden">
            <?php if (isset($component)) { $__componentOriginalbb280406044cb76f5ac02d63d45c7bf0 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalbb280406044cb76f5ac02d63d45c7bf0 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::course.basic-form','data' => ['course' => $course,'action' => ''.e(route('course.store')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::course.basic-form'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['course' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($course),'action' => ''.e(route('course.store')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalbb280406044cb76f5ac02d63d45c7bf0)): ?>
<?php $attributes = $__attributesOriginalbb280406044cb76f5ac02d63d45c7bf0; ?>
<?php unset($__attributesOriginalbb280406044cb76f5ac02d63d45c7bf0); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalbb280406044cb76f5ac02d63d45c7bf0)): ?>
<?php $component = $__componentOriginalbb280406044cb76f5ac02d63d45c7bf0; ?>
<?php unset($__componentOriginalbb280406044cb76f5ac02d63d45c7bf0); ?>
<?php endif; ?>
        </div>
    </div>

    <?php if (isset($component)) { $__componentOriginald7fb23e411530f970a2ef1ed75d1bb92 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald7fb23e411530f970a2ef1ed75d1bb92 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::course.tag-form','data' => ['action' => ''.e(route('tag.store')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::course.tag-form'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['action' => ''.e(route('tag.store')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald7fb23e411530f970a2ef1ed75d1bb92)): ?>
<?php $attributes = $__attributesOriginald7fb23e411530f970a2ef1ed75d1bb92; ?>
<?php unset($__attributesOriginald7fb23e411530f970a2ef1ed75d1bb92); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald7fb23e411530f970a2ef1ed75d1bb92)): ?>
<?php $component = $__componentOriginald7fb23e411530f970a2ef1ed75d1bb92; ?>
<?php unset($__componentOriginald7fb23e411530f970a2ef1ed75d1bb92); ?>
<?php endif; ?>
    <input type="hidden" id="courseTags" value="<?php echo e(isset($course->courseTags) ? $course->courseTags : ''); ?>">

    <h1 id="chapterList" class="hidden"></h1>
    <?php $__env->startPush('js'); ?>
        <script src="<?php echo e(edulab_asset('lms/assets/js/component/stepper.js')); ?>"></script>
        <script src="<?php echo e(asset('lms/assets/js/vendor/choices.min.js')); ?>"></script>
        <script src="<?php echo e(edulab_asset('lms/assets/js/course.js')); ?>"></script>
    <?php $__env->stopPush(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $attributes = $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $component = $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php /**PATH D:\www\edulab\Modules\LMS\resources\views\portals\admin\course\translate.blade.php ENDPATH**/ ?>