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

File "938d8d5f35b9ce8f946c11b61ca45d50.php"

Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/storage/framework/views/938d8d5f35b9ce8f946c11b61ca45d50.php
File size: 4.58 KB
MIME-type: text/x-php
Charset: utf-8

<?php
    $category = App\Models\Category::where('id', $id)->first();
    $parent_categories = App\Models\Category::where('parent_id', 0)->orderBy('title', 'asc')->get();
?>
<form action="<?php echo e(route('admin.category.update', $category->id)); ?>" method="post" enctype="multipart/form-data">
    <?php echo csrf_field(); ?>

    <div class="mb-3">
        <label class="form-label ol-form-label"><?php echo e(get_phrase('Parent category')); ?></label>
        <select class="form-control ol-form-control ol-select2" name="parent_id">
            <option value="0" <?php if($category->parent_id == 0): ?> selected <?php endif; ?>><?php echo e(get_phrase('- Mark it as parent -')); ?></option>
            <?php $__currentLoopData = $parent_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $parent_category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($parent_category->id); ?>" <?php if($category->parent_id == $parent_category->id): ?> selected <?php endif; ?>><?php echo e($parent_category->title); ?></option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
    </div>

    <div class="row">
        <div class="col-12">
            <div class="mb-3">
                <label for="category_name" class="form-label ol-form-label"><?php echo e(get_phrase('Category Name')); ?></label>
                <input type="text" name="title" value="<?php echo e($category->title); ?>" class="form-control ol-form-control" id="category_name" placeholder="<?php echo e(get_phrase('Enter your category name')); ?>" aria-label="<?php echo e(get_phrase('Enter your unique category name')); ?>" required />
            </div>

            <div class="mb-3">
                <label for="icon-picker" class="form-label ol-form-label"><?php echo e(get_phrase('Pick Your Icon')); ?></label>
                <input type="text" name="icon" value="<?php echo e($category->icon); ?>" class="form-control ol-form-control icon-picker" id="icon-picker" placeholder="<?php echo e(get_phrase('Pick your category icon')); ?>" aria-label="<?php echo e(get_phrase('Pick your category icon')); ?>" autocomplete="false" required />
            </div>

            <div class="mb-3">
                <label for="Keywords" class="form-label ol-form-label"><?php echo e(get_phrase('Keywords')); ?> <small class="text-muted">(<?php echo e(get_phrase('optional')); ?>)</small></label>
                <input type="text" name="keywords" value="<?php echo e($category->keywords); ?>" class="form-control ol-form-control" id="Keywords" placeholder="<?php echo e(get_phrase('Enter your Keywords')); ?>" aria-label="<?php echo e(get_phrase('Enter your Keywords')); ?>" />
            </div>

            <div class="mb-3">
                <label for="description" class="form-label ol-form-label"><?php echo e(get_phrase('Category Description')); ?> <small class="text-muted">(<?php echo e(get_phrase('optional')); ?>)</small></label>
                <textarea name="description" rows="4" class="form-control ol-form-control" id="description" placeholder="<?php echo e(get_phrase('Enter your description')); ?>" aria-label="<?php echo e(get_phrase('Enter your description')); ?>"><?php echo e($category->description); ?></textarea>
            </div>

            <div class="mb-3">
                <label for="thumbnail" class="form-label ol-form-label"><?php echo e(get_phrase('Choose category thumbnail')); ?> <small class="text-muted">(<?php echo e(get_phrase('optional')); ?>)</small></label>
                <input type="file" name="thumbnail" class="form-control ol-form-control" id="thumbnail" accept="image/*" />
            </div>
            <div class="mb-3">
                <label for="category_logo" class="form-label ol-form-label"><?php echo e(get_phrase('Choose category Logo')); ?> <small class="text-muted">(<?php echo e(get_phrase('optional')); ?>)</small></label>
                <input type="file" name="category_logo" class="form-control ol-form-control" id="category_logo" accept="image/*" />
            </div>

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


<script type="text/javascript">
    "use strict";

    $(function() {
        if ($('.icon-picker').length) {
            $('.icon-picker').iconpicker();
        }
    });
    $('.ol-select2').select2({
        dropdownParent: $("#ajaxModal")
    });
</script>
<?php /**PATH C:\xampp\htdocs\Arise\resources\views/admin/category/edit.blade.php ENDPATH**/ ?>