JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "c62a7b6977e474d5eac91682a8c666bb.php"

Full Path: /home/ambitio2/public_html/storage/framework/views/c62a7b6977e474d5eac91682a8c666bb.php
File size: 3.88 KB
MIME-type: text/x-php
Charset: utf-8

<?php
    $mySubDetails = App\Models\TutorCanTeach::where('id', $id)->first();
    $categories = App\Models\TutorCategory::orderBy('name', 'asc')->get();
    $subjects = App\Models\TutorSubject::orderBy('name', 'asc')->get();
?>
<form class="ajaxFormSubmission" action="<?php echo e(route('instructor.my_subject_update', $mySubDetails->id)); ?>" method="post" enctype="multipart/form-data">
    <?php echo csrf_field(); ?>

    <div class="row">
        <div class="col-12">

            <div class="mb-3">
                <label for="category_id" class="form-label ol-form-label">
                    <?php echo e(get_phrase('Category')); ?><span class="text-danger ms-1">*</span>
                </label>
                <select class="form-control ol-form-control ol-select2" name="category_id" id="category_id" required>
                    <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($category->id); ?>" <?php echo e($mySubDetails->category_id == $category->id ? 'selected' : ''); ?>><?php echo e($category->name); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
            </div>

            <div class="mb-3">
                <label for="subject_id" class="form-label ol-form-label">
                    <?php echo e(get_phrase('Subject')); ?><span class="text-danger ms-1">*</span>
                </label>
                <select class="form-control ol-form-control ol-select2" name="subject_id" id="subject_id" required>
                    <?php $__currentLoopData = $subjects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subject): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($subject->id); ?>" <?php echo e($mySubDetails->subject_id == $subject->id ? 'selected' : ''); ?>><?php echo e($subject->name); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
            </div>

            <div class="mb-3">
                <label for="price" class="form-label ol-form-label"><?php echo e(get_phrase('Price')); ?>

                    <small>(<?php echo e(currency()); ?>)</small><span class="text-danger ms-1">*</span></label>

                <input type="number" name="price" class="form-control ol-form-control" id="price" min="1" placeholder="<?php echo e(get_phrase('Enter your course price')); ?> (<?php echo e(currency()); ?>)" value="<?php echo e($mySubDetails->price); ?>" required>
            </div>

            <div class="mb-3">
                <label class="form-label ol-form-label" for="description"><?php echo e(get_phrase('Description')); ?></label>
                <textarea name="description" placeholder="<?php echo e(get_phrase('Enter Description')); ?>" class="form-control ol-form-control text_editor" required><?php echo e($mySubDetails->description); ?></textarea>
            </div>

            <div class="mb-3">
                <label for="thumbnail" class="form-label ol-form-label"><?php echo e(get_phrase('Thumbnail')); ?></label>
                <input type="file" name="thumbnail" class="form-control ol-form-control" id="thumbnail" accept="image/*" />
            </div>

            <div class="mb-2">
                <button class="btn ol-btn-primary"><?php echo e(get_phrase('Submit')); ?></button>
            </div>
        </div>
    </div>
</form>

<?php echo $__env->make('instructor.init', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH G:\Projects\academylmslaravel_running\resources\views/instructor/tutor_booking/subject_edit.blade.php ENDPATH**/ ?>