<?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="POST" action="<?php echo e(route('admin.logincheck')); ?>">
                                    <?php echo csrf_field(); ?>

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

                                    <div class="form-group">
                                        <label for="userpassword">رمز عبور</label>
                                        <input name="password" type="password" class="form-control" id="userpassword"
                                            placeholder="رمز عبور را وارد کنید">
                                    </div>


                                    <div class="mt-3">
                                        <button class="btn btn-primary btn-block waves-effect waves-light"
                                            type="submit">ورود</button>
                                    </div>


                                </form>
                                <br>

                                <?php if($errors->any()): ?>
                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div 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 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/admin/login.blade.php ENDPATH**/ ?>