<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
        <meta name="description" content="" />
        <meta name="author" content="" />
        <title>Page Title - SB Admin</title>
        <link href="<?php echo e(url('public/assets')); ?>/css/styles.css" rel="stylesheet" />
        <script src="<?php echo e(url('public/assets')); ?>/js/all.min.js" crossorigin="anonymous"></script>
		   <style>
.help-block{
  color:red;
}
 
</style>
    </head>
    <body class="bg-primary">
        <div id="layoutAuthentication">
            <div id="layoutAuthentication_content">
                <main>
                    <div class="container">
                        <div class="row justify-content-center">
                            <div class="col-lg-5">
							
							 <?php $__currentLoopData = ["success","error"]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(Session::has($status)): ?>
<div class="alert alert-<?php echo e($status); ?> alert-dismissible">
  <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
  <strong><?php echo e($status); ?>!</strong> <?php echo e(Session::get($status)); ?> 
</div>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							
							
                                <div class="card shadow-lg border-0 rounded-lg mt-5">
                                    <div class="card-header"><h3 class="text-center font-weight-light my-4">Login</h3></div>
                                    <div class="card-body">
                                        <form action="<?php echo e(route('loginpost')); ?>" name="signin" method="post">
										 <?php echo csrf_field(); ?>
										<div class="form-group">
										<label class="small mb-1" for="inputEmailAddress">User Type</label>
											<select class="form-control " name='roletype' id='roletype' >
												<option value="">  Select User Type </option>
												<option value="administrator">  Administrator </option>
												<option value="superviser">  Superviser </option>
												<option value="labour"> Labour </option>
												</select>
			 <?php if($errors->has('roletype')): ?>
  <p class="help-block"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
            <?php echo e($errors->first('roletype')); ?></p>
        <?php endif; ?>
											 
                                            </div>
										
                                            <div class="form-group">
                                                <label class="small mb-1" for="inputEmailAddress">User Email</label>
                                                <input class="form-control py-4" id="inputEmailAddress" type="email" placeholder="Enter email address"  name="username" id="username" />
												<?php if($errors->has('username')): ?>
  <p class="help-block"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
            <?php echo e($errors->first('username')); ?></p>
        <?php endif; ?>
                                            </div>
                                            <div class="form-group">
                                                <label class="small mb-1" for="inputPassword">Password</label>
                                                <input class="form-control py-4" id="inputPassword" name="password"  type="password" placeholder="Enter password" />
                                           
											 <?php if($errors->has('password')): ?>
											  <p class="help-block"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
														<?php echo e($errors->first('password')); ?></p>
													<?php endif; ?>
                                               </div>
                                            <div class="form-group">
                                                <div class="custom-control custom-checkbox">
                                                    <input class="custom-control-input" id="rememberPasswordCheck" type="checkbox" />
                                                    <label class="custom-control-label" for="rememberPasswordCheck">Remember password</label>
                                                </div>
                                            </div>
                                            <div class="form-group d-flex align-items-center justify-content-between mt-4 mb-0">
                                                <a class="small" href="password.html">Forgot Password?</a>
                                                <button type="submit" class="btn btn-primary" href="index.html">Login</button>
                                            </div>
                                        </form>
                                    </div>
                                    <div class="card-footer text-center">
                                        <div class="small"><a href="register.html">Need an account? Sign up!</a></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </main>
            </div>
            <div id="layoutAuthentication_footer">
                <footer class="py-4 bg-light mt-auto">
                    <div class="container-fluid">
                        <div class="d-flex align-items-center justify-content-between small">
                            <div class="text-muted">Copyright &copy; Your Website 2020</div>
                            <div>
                                <a href="#">Privacy Policy</a>
                                &middot;
                                <a href="#">Terms &amp; Conditions</a>
                            </div>
                        </div>
                    </div>
                </footer>
            </div>
        </div>
        <script src="<?php echo e(url('public/assets')); ?>/js/jquery-3.5.1.js" crossorigin="anonymous"></script>
        <script src="<?php echo e(url('public/assets')); ?>/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
        <script src="<?php echo e(url('public/assets')); ?>/js/scripts.js"></script>
    </body>
</html>
<?php /**PATH C:\xampp\htdocs\sangya1\resources\views/login1.blade.php ENDPATH**/ ?>