<?php $__env->startSection('content'); ?>
<div class="container">
    <form action="<?php echo e(route('users.update', $user)); ?>" method="POST">
        <?php echo csrf_field(); ?>
        <?php echo e(method_field('PUT')); ?>

        <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="form-check">
                <input type="checkbox" name="roles[]" value="<?php echo e($role->id); ?>"
                <?php if($user->roles->pluck('id')->contains($role->id)): ?> checked <?php endif; ?>>
                <label><?php echo e($role->name); ?></label>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <input type="text" name="name" value="<?php echo e($user->name); ?>">
        <input type="text" name="email" value="<?php echo e($user->email); ?>">
        <button type="submit" class="btn btn-primary">
            Update
        </button>
    </form>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/volkswagenconsor/public_html/propostas/resources/views/users/edit.blade.php ENDPATH**/ ?>