<?php if (isset($component)) { $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\AppLayout::class, []); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>

    <div class="m-area">
        <p class="title">Add New Shortlink</p>
        <a href="<?php echo e(route('admin.shortlinks.index')); ?>" class="float-right">
        < Back
        </a>
        <hr>

        <form class="mt-5" action="<?php echo e(route('admin.shortlinks.store')); ?>" method="POST">
            <?php echo csrf_field(); ?>

            <div class="form-row form">
                <div class="col">
                    <label for="name">Name</label>
                    <input type="text" class="form-control" id="name" name="name" placeholder="Name" required=""
                        autocomplete="off">
                </div>
            </div>

            <div class="form-row form">
                <div class="col">
                    <label for="url">URL without end slash "/"</label>
                    <input type="url" class="form-control" id="url" name="url" placeholder="https://shortlink.com"
                        required="" autocomplete="off">
                </div>
                <div class="col">
                    <label for="api_key">API Key</label>
                    <input type="text" class="form-control" id="api_key" name="api_key" placeholder="API Key"
                        required="" autocomplete="off">
                </div>
            </div>

            <div class="form-row form">
                <div class="col">
                    <label for="energy">Energy</label>
                    <input type="number" class="form-control" id="energy" name="energy" placeholder="Enter Energy"
                        required="" autocomplete="off">
                </div>
                <div class="col">
                    <label for="points">Level points</label>
                    <input type="number" class="form-control" id="points" name="points" placeholder="Enter level points"
                        required="" autocomplete="off">
                </div>
                <div class="col">
                    <label for="views">Views</label>
                    <input type="number" class="form-control" id="views" name="views" placeholder="Enter Views/Clicks"
                        required="" autocomplete="off">
                </div>
                <div class="col">
                    <label for="nsfw">Is NSFW</label>
                    <select name="nsfw" class="form-control" id="nsfw">
                        <option value="1">True</option>
                        <option value="0" selected>False</option>
                    </select>
                </div>
            </div>

            <div class="col-xs-12 col-sm-12 col-md-12 text-center mt-5">
                <button type="submit" class="btn btn-primary">Submit</button>
            </div>

        </form>
    </div>

 <?php if (isset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da)): ?>
<?php $component = $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da; ?>
<?php unset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?><?php /**PATH /home/jorgeserranodev/Escritorio/Projects/timebitco.in/autoclaim/resources/views/admin/shortlinks/create.blade.php ENDPATH**/ ?>