Your IP : 216.73.216.79


Current Path : /var/www/html/bookstack/storage/framework/views/
Upload File :
Current File : /var/www/html/bookstack/storage/framework/views/2ee33b207f5bc57a62ce515cfdc8514a81d2484b.php

<?php $__env->startSection('body'); ?>
    <div class="container small">

        <?php echo $__env->make('settings.parts.navbar', ['selected' => 'users'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

        <div class="card content-wrap auto-height">
            <h1 class="list-heading"><?php echo e(trans('settings.users_delete')); ?></h1>

            <p><?php echo e(trans('settings.users_delete_warning', ['userName' => $user->name])); ?></p>

            <?php if(userCan('users-manage')): ?>
                <hr class="my-l">

                <div class="grid half gap-xl v-center">
                    <div>
                        <label class="setting-list-label"><?php echo e(trans('settings.users_migrate_ownership')); ?></label>
                        <p class="small"><?php echo e(trans('settings.users_migrate_ownership_desc')); ?></p>
                    </div>
                    <div>
                        <?php echo $__env->make('form.user-select', ['name' => 'new_owner_id', 'user' => null, 'compact' => false], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                </div>
            <?php endif; ?>

            <hr class="my-l">

            <div class="grid half">
                <p class="text-neg"><strong><?php echo e(trans('settings.users_delete_confirm')); ?></strong></p>
                <div>
                    <form action="<?php echo e(url("/settings/users/{$user->id}")); ?>" method="POST" class="text-right">
                        <?php echo csrf_field(); ?>


                        <input type="hidden" name="_method" value="DELETE">
                        <a href="<?php echo e(url("/settings/users/{$user->id}")); ?>" class="button outline"><?php echo e(trans('common.cancel')); ?></a>
                        <button type="submit" class="button"><?php echo e(trans('common.confirm')); ?></button>
                    </form>
                </div>
            </div>

        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.simple', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/bookstack/resources/views/users/delete.blade.php ENDPATH**/ ?>