<?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->slot('title', null, []); ?> 
        <?php echo e(translate('Edit ')); ?>

     <?php $__env->endSlot(); ?>
    <!-- BREADCRUMB -->
    <?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('organization.course-review.index')).'','title' => ''.e('Edit').'','pageTo' => 'Review']] + (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('organization.course-review.index')).'','title' => ''.e('Edit').'','page-to' => 'Review']); ?>
<?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; ?>


    <form action="<?php echo e(route('organization.course-review.update', $review->id)); ?>" class="form" method="POST">
        <?php echo csrf_field(); ?>
        <?php echo method_field('PATCH'); ?>
        <input type="hidden" value="<?php echo e($review->course_id); ?>" name="course_id" />
        <input type="hidden" value="<?php echo e($review->user_id); ?>" name="user_id" />
        <div class="grid grid-cols-2 gap-x-3 gap-y-4  card">

            <div class="col-span-full grid grid-cols-3 gap-x-3 gap-y-4">
                <!-- REVIEW FOR CONTENT -->
                <div class="col-span-full xl:col-auto">
                    <div class="form-input rounded-full flex items-center gap-2">
                        <label class="form-label !m-0"> <?php echo e(translate('Content')); ?> :</label>
                        <div class="flex items-center flex-row-reverse gap-2">
                            <!-- Star 1 -->
                            <input type="radio" name="content_quality" id="con_star1"
                                <?php echo e($review->content_quality == 5 ? 'checked' : ''); ?> value="5" class="hidden peer">
                            <label for="con_star1"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 2 -->
                            <input type="radio" name="content_quality" id="con_star2"
                                <?php echo e($review->content_quality == 4 ? 'checked' : ''); ?> value="4" class="hidden peer">
                            <label for="con_star2"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 3 -->
                            <input type="radio" name="content_quality" id="con_star3"
                                <?php echo e($review->content_quality == 3 ? 'checked' : ''); ?> value="3" class="hidden peer">
                            <label for="con_star3"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 4 -->
                            <input type="radio" name="content_quality" id="con_star4"
                                <?php echo e($review->content_quality == 2 ? 'checked' : ''); ?> value="2"
                                class="hidden peer">
                            <label for="con_star4"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 5 -->
                            <input type="radio" name="content_quality" id="con_star5"
                                <?php echo e($review->content_quality == 1 ? 'checked' : ''); ?> value="1"
                                class="hidden peer">
                            <label for="con_star5"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                        </div>
                    </div>
                </div>
                <!-- REVIEW FOR INSTRUCTOR -->
                <div class="col-span-full xl:col-auto">
                    <div class="form-input rounded-full flex items-center gap-2">
                        <label class="form-label !m-0"> <?php echo e(translate('Instructor')); ?> :</label>
                        <div class="flex items-center flex-row-reverse gap-2">
                            <!-- Star 1 -->
                            <input type="radio" name="instructor_skills"
                                <?php echo e($review->instructor_skills == 5 ? 'checked' : ''); ?> id="ins_star1" value="5"
                                class="hidden peer">
                            <label for="ins_star1"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 2 -->
                            <input type="radio" name="instructor_skills"
                                <?php echo e($review->instructor_skills == 4 ? 'checked' : ''); ?> id="ins_star2" value="4"
                                class="hidden peer">
                            <label for="ins_star2"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 3 -->
                            <input type="radio" name="instructor_skills"
                                <?php echo e($review->instructor_skills == 3 ? 'checked' : ''); ?> id="ins_star3" value="3"
                                class="hidden peer">
                            <label for="ins_star3"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 4 -->
                            <input type="radio" name="instructor_skills"
                                <?php echo e($review->instructor_skills == 2 ? 'checked' : ''); ?> id="ins_star4" value="2"
                                class="hidden peer">
                            <label for="ins_star4"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 5 -->
                            <input type="radio" name="instructor_skills"
                                <?php echo e($review->instructor_skills == 1 ? 'checked' : ''); ?> id="ins_star5" value="1"
                                class="hidden peer">
                            <label for="ins_star5"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                        </div>
                    </div>
                </div>
                <!-- REVIEW FOR SUPPORT -->
                <div class="col-span-full xl:col-auto">
                    <div class="form-input rounded-full flex items-center gap-2">
                        <label class="form-label !m-0"> <?php echo e(translate('Support')); ?>:</label>
                        <div class="flex items-center flex-row-reverse gap-2">
                            <!-- Star 1 -->
                            <input type="radio" name="support_quality" id="sup_star1"
                                <?php echo e($review->support_quality == 5 ? 'checked' : ''); ?> value="5"
                                class="hidden peer">
                            <label for="sup_star1"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 2 -->
                            <input type="radio" name="support_quality"
                                <?php echo e($review->support_quality == 4 ? 'checked' : ''); ?> id="sup_star2" value="4"
                                class="hidden peer">
                            <label for="sup_star2"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 3 -->
                            <input type="radio" name="support_quality"
                                <?php echo e($review->support_quality == 3 ? 'checked' : ''); ?> id="sup_star3" value="3"
                                class="hidden peer">
                            <label for="sup_star3"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 4 -->
                            <input type="radio" name="support_quality"
                                <?php echo e($review->support_quality == 2 ? 'checked' : ''); ?> id="sup_star4" value="2"
                                class="hidden peer">
                            <label for="sup_star4"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                            <!-- Star 5 -->
                            <input type="radio" name="support_quality"
                                <?php echo e($review->support_quality == 1 ? 'checked' : ''); ?> id="sup_star5" value="1"
                                class="hidden peer">
                            <label for="sup_star5"
                                class="cursor-pointer text-gray-300 peer-checked:text-warning hover:text-warning">
                                <i class="ri-star-fill text-base text-inherit"></i>
                            </label>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-span-full">
                <div class="relative">
                    <textarea id="instructor-education" rows="10" class="form-input rounded-2xl h-auto peer" name="content"
                        placeholder=" <?php echo e(translate('Write your message')); ?>"> <?php echo e($review->content ?? ''); ?></textarea>
                </div>
                <span class="text-danger error-text content_err"></span>
            </div>
            <div class="col-span-full">
                <button type="submit" class="btn b-solid btn-primary-solid !rounded-full"
                    aria-label="Submit review">
                    <?php echo e(translate('Submit Now')); ?>

                </button>
            </div>
        </div>
    </form>
 <?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\organization\review\course\form.blade.php ENDPATH**/ ?>