

<?php $__env->startSection('container_content'); ?>

<div class="login section-padding">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-7">
                <div class="login_head">
                    <!--<h3> login </h3>-->
                    <!--<p> login to dashboard now </p>-->
                    <div class="img_logo">
                        <img src="<?php echo e(asset('/assets/admin/images/logo.svg')); ?>" alt="">
                    </div>
                </div>

                <form method="POST" action="<?php echo e(route('admin_login')); ?>" class="border-item rounded-0">
                    <?php echo csrf_field(); ?>
                    

                    <?php if(session('error')): ?>
                        <div class="alert alert-danger">
                            <?php echo e(session('error')); ?>

                            <?php echo e(session()->forget('error')); ?>

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

                            <?php echo e(session()->forget('suspended_error')); ?>

                        </div>
                    <?php endif; ?>
                    
                    <div class="form-group">
                        <!--<label for="email" class="col-form-label text-md-right"><?php echo e(__('E-Mail Address')); ?></label>-->
                        <label for="email" class="col-form-label text-md-right">البريد الالكترونى</label>

                        <input id="email" type="email" class="form-control <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="email" value="<?php echo e(old('email')); ?>" required autocomplete="email" autofocus>

                        <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                            <span class="invalid-feedback" role="alert">
                                <strong><?php echo e($message); ?></strong>
                            </span>
                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                    </div>

                    <div class="form-group">
                        <label for="password" class="col-form-label text-md-right"><?php echo e(__('Password')); ?></label>
                        <label for="password" class="col-form-label text-md-right">كلمة المرور</label>

                        <input id="password" type="password" class="form-control <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="password" required autocomplete="current-password">

                        <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                            <span class="invalid-feedback" role="alert">
                                <strong><?php echo e($message); ?></strong>
                            </span>
                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                    </div>

                    <div class="form-group row">
                        <div class="col-md-6">
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" name="remember" id="remember" <?php echo e(old('remember') ? 'checked' : ''); ?>>

                                <label class="form-check-label" for="remember">
                                    <?php echo e(__('Remember Me')); ?>

                                </label>
                            </div>
                        </div>
                    </div>
                    <button class="butn butn_blue mt-3">
                        <div class="cont">
                            <span>  <?php echo e(__('Login')); ?> </span>
                        </div>
                        <img src="<?php echo e(asset('assets/admin/images/butn_shap.png')); ?> " alt="" class="shape">
                    </button>
                    <!--<button class="butn mt-3"><span><?php echo e(__('Login')); ?></span></button>-->

                    
                    <!-- </div> -->
                </form>
            </div>
        </div>
    </div>
</div>
<!--End-Contents-->
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/modern/resources/views/admin/login.blade.php ENDPATH**/ ?>