        <div class="col-12 grid-margin stretch-card">
            <div class="card">
                <div class="card-body">                    
                    <div class="row">
                        <div class="col-12">
                            <div class="form-group">
                                <?php
                                    $userRole = isset($user) ? $user->roles()->pluck('role_id','role_id') : []; 
                                ?>
                                <?php $__empty_1 = true; $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>                                                     
                                    <div class="form-check">
                                        <label class="form-check-label">
                                            <input type="checkbox" name="roles[]" <?php if(isset($userRole[$item->id])): ?> checked <?php endif; ?> value="<?php echo e($item->name); ?>" class="form-check-input">
                                            <?php echo e($item->name); ?>

                                            <i class="input-helper"></i>
                                        </label>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                    ----
                                <?php endif; ?>                          
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div><?php /**PATH /data/docker/laravel/starter/resources/views/base/users/role_fields.blade.php ENDPATH**/ ?>