<?php $__env->startSection('content'); ?>
    <div class="account-pages my-5 pt-sm-5">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-md-8 col-lg-6 col-xl-5">
                    <div class="card overflow-hidden">
                        <div class="bg-login text-center">
                            <div class="bg-login-overlay"></div>
                            <div class="position-relative">
                                <h5 class="text-white font-size-20">ثبت نام</h5>
                                <p class="text-white-50 mb-0">ثبت نام در سامانه فیش حقوقی پاکان باختر بانه</p>
                                <a href="<?php echo e(route('index')); ?>" class="logo logo-admin mt-4">
                                    <img src="<?php echo e(asset('logo.png')); ?>" alt="" height="30">
                                </a>
                            </div>
                        </div>
                        <div class="card-body pt-5">
                            <div class="p-2">
                                <form class="form-horizontal" method="GET" action="<?php echo e(route('registercheck')); ?>">
                                    <?php echo csrf_field(); ?>

                                    <div class="form-group">
                                        <label for="nationalcode">کدملی</label>
                                        <input style="text-align: center" name="nationalcode"
                                            value="<?php echo e(old('nationalcode')); ?>" type="number" class="form-control"
                                            id="nationalcode" placeholder="کدملی را وارد کنید">
                                    </div>

                                    <div class="form-group">
                                        <label for="usercode">کدپرسنلی</label>
                                        <input style="text-align: center" name="usercode" type="number"
                                            class="form-control" id="usercode" placeholder="کدپرسنلی را وارد کنید">
                                    </div>


                                    <div class="mt-3">
                                        <button class="btn btn-primary btn-block waves-effect waves-light"
                                            type="submit">ثبت نام</button>
                                    </div>


                                </form>
                                <br>

                                <div style="text-align: center" class="col-12">
                                    <a href="<?php echo e(route('login')); ?>">رفتن به صفحه ورود</a>
                                </div>
                                <br><br>

                                <?php if($errors->any()): ?>
                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div style="text-align: center" class="alert alert-danger" role="alert">
                                            <?php echo e($error); ?>

                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php endif; ?>

                                <?php if(session()->has('message')): ?>
                                    <div style="text-align: center" class="t-center alert alert-danger" role="alert">
                                        <?php echo e(session()->get('message')); ?>

                                    </div>
                                <?php endif; ?>
                            </div>

                        </div>
                    </div>


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

<?php echo $__env->make('panel.layouts.assets', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/ali/pakanbakhtar/pakanbakhtar/resources/views/panel/register.blade.php ENDPATH**/ ?>