<?php echo $__env->make('layouts.header', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<main>
<div class="mb-4 pb-4"></div>
<section class="login-register container mb-5">
<h2 class="d-none">Login</h2>
<ul class="nav nav-tabs mb-5" id="login_register" role="tablist">
<li class="nav-item" role="presentation">
<a class="nav-link nav-link_underscore" id="login-tab" data-bs-toggle="tab" href="#tab-item-login" role="tab" aria-controls="tab-item-login" aria-selected="true">Login</a>
</li>
</ul>
<div class="tab-content pt-2" id="login_register_tab_content">
    <div class="login-form">
        <?php if(session('success')): ?>
                    <div class="alert alert-success" style="padding-top: 10px; padding-bottom: 10px;">
                        <?php echo e(session('success')); ?>

                    </div> 
                  <?php elseif(session('error')): ?>
                    <div class="alert alert-danger" style="padding-top: 10px; padding-bottom: 10px;">
                        <?php echo e(session('error')); ?>

                    </div>
        <?php endif; ?>
        <form  action="<?php echo e(route('user.login.save')); ?>" name="login-form" class="needs-validation" method="POST" novalidate>
        <?php echo csrf_field(); ?>    
        <div class="form-floating mb-3">
            <input type="hidden" name="redirect" value="<?php echo e(request('redirect')); ?>">
            <input name="email" type="email" class="form-control form-control_gray" id="customerNameEmailInput1" placeholder="Email address *" required>
            <label for="customerNameEmailInput1">Email address *</label>
        </div>
        <div class="pb-3"></div>
        <div class="form-floating mb-3">
            <input name="password" type="password" class="form-control form-control_gray" id="customerPasswodInput" placeholder="Password *" required>
            <label for="customerPasswodInput">Password *</label>
        </div>
        <div class="d-flex align-items-center mb-3 pb-2">
        <div class="form-check mb-0">
            <input name="remember" class="form-check-input form-check-input_fill" type="checkbox" value="" id="flexCheckDefault1">
            <label class="form-check-label text-secondary" for="flexCheckDefault1">Remember me</label>
        </div>
        <a href="reset_password.html" class="btn-text ms-auto">Lost password?</a>
        </div>
        <button class="btn btn-primary w-100 text-uppercase" type="submit">Log In</button>
        <div class="customer-option mt-4 text-center">
            <span class="text-secondary">No account yet?</span>
        <a href="<?php echo e(route('user.register')); ?>" class="btn-text js-show-register">Create Account</a>
        </div>
        </form>
    </div>

</div>
</section>
</main>
 
<?php echo $__env->make('layouts.footer', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/hubto/public_html/griffin/resources/views/login.blade.php ENDPATH**/ ?>