<!Doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>Asesoritech</title>
	<link rel="stylesheet" href="{{ asset('bootstrap/css/bootstrap.css') }}">
	<script  src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
	<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
	<link  media="all" rel="stylesheet" type="text/css" href="{{ asset('css/login.css') }}">
	<link rel="stylesheet" href="{{ asset('css/nav-style.css') }}">
	<script src="{{ asset('fontawesome-5.1.0/js/all.js') }}"></script>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="{{ asset('fontawesome-5.1.0/css/all.css') }}">
</head>
<body>
	<nav class="navbar navbar-expand-lg fixed-top navbar-light bg-light">
	  <a class="navbar-brand" href=".././"><img class="img-logo" src="{{ asset('img/logo5.png') }}"></a>
	  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
			<span class="navbar-toggler-icon"></span>
	  </button>
    </nav>
    <section class="container all-container">
        <div class="formulario-login-container mx-auto">
		
			<form method="POST" action="{{ route('login') }}" class="form-elements col-md-4 mx-auto">
				{{ csrf_field() }}
				@if ($errors->has('email'))
					<span class="invalid-feedback" role="alert">
						<strong>{{ $errors->first('email') }}</strong>
					</span>
					<div class="alert alert-danger requerido">{{ $errors->first('email') }}</div>
				@endif
				@if ($errors->has('password'))
					<div class="alert alert-danger requerido">{{ $errors->first('password') }}</div>
				@endif       
				<h2 class="form-signin-heading text-center">Login</h2>
				<input type="email" class="form-control" id="email" name="email" placeholder="Correo electronico" required autofocus />
				<input type="password" class="form-control" id="password" name="password" placeholder="Contraseña" required autofocus/>
				<button class="btn btn-lg btn-primary btn-block" type="submit">Entrar</button>   
				<a class="btn btn-link text-center forgotPass" href="{{ route('password.request') }}">
					{{ __('Olvidaste tu contraseña?') }}
				</a>
				<a href="{{ route('solicitar-usuario') }}" class="solicitar-usuario text-center">Solicitar usuario</a>
			</form>
        </div>
    </section>
</body>
</html>