<?php $__env->startSection('title'); ?> Log-In | ##parent-placeholder-3c6de1b7dd91465d437ef415f94f36afc1fbc8a8## <?php $__env->stopSection(); ?>

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

    <div class='kupeza-login'>
        <div class='login-div'>
            <div class='login-picture'>
                
            </div>
            <div class='login-form'>
                <div class="authTitle-div">
                    <h3 class="authTitle">Login or <a href="<?php echo e(route('user.create')); ?>">Sign up</a></h3>
                </div>
                <?php echo e(Form::open(['class'=> 'loginForm', 'autocomplete'=> 'off'])); ?>


                    <div class="input-group <?php echo e($errors->has('email')? 'has-error':''); ?>">
                        <span class="input-group-addon"><i class="fa fa-user"></i></span>
                        <input type="email" class="form-control" name="email" value="<?php echo e(old('email')); ?>" placeholder="email address" style="border-radius:0 4px 4px 0">
    
                    </div>
                    <?php echo $errors->has('email')? '<p class="help-block">'.$errors->first('email').'</p>':''; ?>

                    <span class="help-block"></span>
    
                    <div class="input-group <?php echo e($errors->has('password')? 'has-error':''); ?>">
                        <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                        <input  type="password" class="form-control" name="password" placeholder="Password" style="border-radius:0 4px 4px 0">
                    </div>
                    <?php echo $errors->has('password')? '<p class="help-block">'.$errors->first('password').'</p>':''; ?>

    
                    <span class="help-block"></span>
                    <button class="btn btn-lg btn-learn btn-block" type="submit">Login</button>
                <?php echo e(Form::close()); ?>

                <div class='bottom-row' style="margin-top: 20px;">
                    <div class='leftlogin'>
                        <p>
                        <label class="checkbox">
                            <input type="checkbox" value="remember-me">Remember Me
                        </label>
                        </p>
                    </div>
                    <div class='rightlogin'>
                        <p style="padding-top: 10px;">
                            <a href="#" data-toggle="modal" data-target="#forgotPasswordEmail"> <?php echo app('translator')->getFromJson('app.forgot_password'); ?></a>
                        </p>
                    </div>
                </div>
                
            </div>
        </div>
        
    </div>



    

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

<?php $__env->startSection('page-js'); ?>
    <script>
        var options = {closeButton : true};
        <?php if(session('error')): ?>
            toastr.error('<?php echo e(session('error')); ?>', 'Error!', options)
        <?php endif; ?>
    </script>
        <script>
        var options = {closeButton : true};
        <?php if(session('success')): ?>
            toastr.success('<?php echo e(session('success')); ?>', '<?php echo trans('app.success') ?>', options);
        <?php endif; ?>
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout.main', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>