

<?php $__env->startSection('title'); ?>
Create Invite Key
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="container">
    <h1><b>Generate Invite Key</b></h1>
    <p>Used for inviting new users to Tadah. Inviting random or unknown people is not permitted.<br>Minimum uses: 1<br>Maximum uses: 50</p>
    <hr>
    <?php if(session()->has('error')): ?>
        <div class="alert alert-danger">
            <?php echo e(session()->get('error')); ?>

        </div>
    <?php endif; ?>
    <?php if(session()->has('success')): ?>
        <div class="alert alert-success">
            <?php echo e(session()->get('success')); ?>

        </div>
    <?php endif; ?>
    <form method="POST" action="<?php echo e(route('admin.generateinvitekey')); ?>" enctype="multipart/form-data">
        <?php echo csrf_field(); ?>

        <div class="form-group">
            <label for="uses">Uses</label>
            <input type="number" name="uses" class="form-control" id="uses" placeholder="Number of Uses">
        </div>
        <button type="submit" class="btn btn-success"><i class="fas fa-plus"></i> Create</button>
    </form>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\project\tadah\tadah\resources\views/admin/createinvitekey.blade.php ENDPATH**/ ?>