@extends('app')

@section('content')

<style>
	.error{
		color: red;
	}
	.form-wrapper{
		margin-top: 20%;
	}
</style>
<div class="container">
	<div class="col-md-4 col-md-offset-4">
		<div class="form-wrapper">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h3 class="text-center">R E S E T  &nbsp; P A S S W O R D</h3>
				</div>
				<div class="panel-body">
					<div class="row">
						<div class="col-xs-12">
							@if (count($errors) > 0)
								<div class="alert alert-danger">
									<strong>Whoops!</strong> There were some problems with your input.<br><br>
									<ul>
										@foreach ($errors->all() as $error)
											<li>{{ $error }}</li>
										@endforeach
									</ul>
								</div>
							@endif
							<form role="form" method="POST" action="{{ url('/password/reset') }}">
								<input type="hidden" name="_token" value="{{ csrf_token() }}">
								<input type="hidden" name="token" value="{{ $token }}">

								<div class="form-group">
									<label  class="control-label">Email Address</label>
									<input type="email" class="form-control" name="email"  value="{{ old('email') }}"  title="Please enter your email address" placeholder="example@gmail.com">
									<span class="help-block"></span>
								</div>
								<div class="form-group">
									<label class="control-label">Password</label>
									<input type="password" class="form-control" name="password" placeholder="Password">
									<span class="help-block"></span>
								</div>
								<div class="form-group">
									<label  class="control-label">Confirm Password</label>
									<input type="password" class="form-control" name="password_confirmation" placeholder="Confirm Password">
									<span class="help-block"></span>
								</div>
								<button type="submit" class="btn btn-default btn-block">Reset Password</button>
							</form>
							<br><br>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
@endsection
