@extends('app')
@section('content')
<div class="container">
	<div class="row">
		<div class="col-md-6 col-md-offset-3">
			<div class="panel panel-default">
				<div class="panel-heading">
                    <h3 class="text-center">
                        Team Store Login
                    </h3>
                </div>
				<div class="panel-body">
                    @if (\Session::has('errors'))
						<div class="alert alert-danger">
							<strong>Whoops!</strong> {!! \Session::get('errors') !!}.<br><br>
						</div>
					@endif
					<form class="form-horizontal" role="form" method="POST" action="teamstore/checkpassword">
						<input type="hidden" name="_token" value="{{ csrf_token() }}">

						<div class="form-group">
							<label class="col-md-4 control-label">Password</label>
							<div class="col-md-6">
								<input type="password" class="form-control" name="password">
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-6 col-md-offset-4">
								<button type="submit" class="btn btn-primary btn-block">Login</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
@endsection
