

<?php $__env->startSection('page', $page); ?>
<?php $__env->startSection('title', getSetting('APPLICATION_NAME') . ' | ' . $page); ?>

<?php $__env->startSection('content'); ?>
    <div class="card">
        <div class="card-body">
            <form id="createUser">
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label><?php echo e(__('Username')); ?></label>
                            <input type="text" name="username" placeholder="<?php echo e(__('Username')); ?>" class="form-control"
                                maxlength="20" autofocus required>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label><?php echo e(__('Email')); ?></label>
                            <input type="email" name="email" placeholder="<?php echo e(__('Email')); ?>" class="form-control"
                                maxlength="50" required>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label><?php echo e(__('Password')); ?></label>
                            <div id="passwordContainer">
                                <input type="password" name="password" placeholder="<?php echo e(__('Password')); ?>"
                                    class="form-control" maxlength="50" required>
                                <button type="button" id="togglePassword" class="btn btn-info btn-sm ml-1"><i
                                        class="fa fa-eye"></i></button>
                                <button type="button" id="generateRandomPassword" class="btn btn-warning btn-sm ml-1"><i
                                        class="fa fa-random"></i></button>
                            </div>
                            <b><?php echo e(__('Note: An email will be sent to the user')); ?></b>
                        </div>
                    </div>
                </div>

                <button type="submit" id="save" class="btn btn-primary"><?php echo e(__('Save')); ?></button>
                <a href="<?php echo e(route('users')); ?>"><button type="button"
                        class="btn btn-default"><?php echo e(__('Back')); ?></button></a>
            </form>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
    <script>
        $("#generateRandomPassword").trigger('click');
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\JupiterMeet\JupiterMeet_2.1.0\resources\views/admin/user/create.blade.php ENDPATH**/ ?>