<?php if($units->count()): ?>

<?php $__currentLoopData = $units; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $unit): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <option <?php echo e(old('unit_id', $lesson ?? null ? $lesson->unit_id : null) == $unit->id ? 'selected' : ''); ?> value="<?php echo e($unit->id); ?>"><?php echo e($unit->name['name_'.getCurrentLocale()]); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
    <option>No data</option>
<?php endif; ?>
<?php /**PATH C:\wamp64\www\mkn\resources\views/admin/lessons/get_course_unites.blade.php ENDPATH**/ ?>