<?php $__env->startSection('content'); ?>
    <!--begin::Card-->
    <div class="bg-body d-flex flex-column align-items-stretch flex-center rounded-4 w-md-600px p-20">
        <!--begin::Wrapper-->
        <div class="d-flex flex-center flex-column flex-column-fluid px-lg-10 pb-15 pb-lg-20">
            <!--begin::Form-->
            <form class="form w-100" novalidate="novalidate" method="POST" action="<?php echo e(route('login')); ?>">

                <?php echo csrf_field(); ?>

                <!--begin::Heading-->
                <div class="text-center mb-11">
                    <!--begin::Title-->
                    <h1 class="text-gray-900 fw-bolder mb-3">Connexion</h1>
                    <!--end::Title-->
                </div>
                <!--begin::Heading-->

                <?php if(session()->has('status')): ?>
                <!--begin::Alert-->
                <div class="alert alert-dismissible bg-success d-flex flex-column flex-sm-row w-100 p-5 mb-10">
                    <!--begin::Content-->
                    <div class="d-flex flex-column text-light pe-0 pe-sm-10">
                        <h4 class="mb-2 text-light"><?php echo e(session('status')); ?></h4>
                    </div>
                    <!--end::Content-->
                </div>
                <!--end::Alert-->
                <?php endif; ?>

                <div class="fv-row mb-8">
                    <label for="exampleFormControlInput1" class="required form-label">Email</label>
                    <input type="email" placeholder="Email" name="email"  value="<?php echo e(old('email')); ?>" class="form-control bg-transparent" />
                    <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div
                        class="fv-plugins-message-container fv-plugins-message-container--enabled invalid-feedback">
                        <?php echo e($message); ?>

                    </div>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>

                <div class="fv-row mb-8">
                    <label for="exampleFormControlInput1" class="required form-label">Mot de passe</label>
                    <input type="password" placeholder="Mot de passe" name="password" class="form-control bg-transparent" />
                    <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div
                        class="fv-plugins-message-container fv-plugins-message-container--enabled invalid-feedback">
                        <?php echo e($message); ?>

                    </div>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>

                <?php if(Route::has('password.request')): ?>
                <div class="d-flex flex-stack flex-wrap gap-3 fs-base fw-semibold mb-8">
                    <div></div>
            
                    <!--begin::Link-->
                    <a href="<?php echo e(route('password.request')); ?>" class="link-primary">
                        Mot de passe oublié ?
                    </a>
                    <!--end::Link-->
                </div>
                <?php endif; ?>

                <!--begin::Submit button-->
                <div class="d-grid mb-10">
                    <button type="submit" id="kt_sign_up_submit" class="btn btn-primary">
                        <!--begin::Indicator label-->
                        <span class="indicator-label">Connexion</span>
                        <!--end::Indicator label-->
                    </button>
                </div>
                <!--end::Submit button-->

                <div class="text-gray-500 text-center fw-semibold fs-6">
                    Pas encore membre ?
            
                    <a href="<?php echo e(route('register')); ?>" class="link-primary">
                        S'inscrire
                    </a>
                </div>

            </form>
            <!--end::Form-->
        </div>
        <!--end::Wrapper-->
    </div>
    <!--end::Card-->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.auth', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/fourradz/public_html/form/resources/views/auth/login.blade.php ENDPATH**/ ?>