<option value="<?php echo e($category->id); ?>" <?php if($category->id == $data_value->parent_id ): ?> selected <?php endif; ?> >
    <?php echo e(str_repeat('-', $level * 2)); ?>► <?php echo e($category->name); ?>

</option>

<?php if($category->children->count() > 0): ?>
    <?php $__currentLoopData = $category->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php echo $__env->make('category.edit_option', ['category' => $subcategory, 'level' => $level + 1, 'data_value' => $data_value], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
<?php /**PATH /home/iconshoppercom/iconshopper/resources/views/category/edit_option.blade.php ENDPATH**/ ?>