@extends('main')

@section('css')
<link href="{{ asset('/css/bootstrapValidator.min.css')}}" rel="stylesheet">
@endsection

@section('content')
 
   <section class="signup">
       <div class="container">
           <div class="row out_of_bradcrom">
   <div class="col-md-3"></div>
           <div class="col-md-7 reul_msg">
          @if (Session::get('error_msg'))
              <div class="alert alert-danger ">
                 <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                   <span aria-hidden="true">&times;</span>
                 </button>
                  {{Session::get('error_msg')}}
              </div>
          @endif
          @if (Session::get('succ_msg'))
              <div class="alert alert-success ">
                 <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                   <span aria-hidden="true">&times;</span>
                 </button>
                  {{Session::get('succ_msg')}}
              </div>
          @endif
          </div>
       </div>
      <div class="row">
        <div class="col-md-3"></div>
        <div class="col-md-8 col-sm-12">
             @if ($validation_errors && count($validation_errors) > 0)
                <div class="alert alert-danger clearfix">
                    <strong>Whoops!</strong> There were some problems with your input.<br><br>
                    <ul>
                        @foreach ($validation_errors as $error)
                            <li>{{ $error }}</li>
                        @endforeach
                    </ul>
                </div>
            @endif
        <div class="panel panel-default forgot-ps-panel">
  <div class="panel-heading">
    <h1 class="panel-title">Forgot Password</h1>
  </div>
  <div class="panel-body">
          
           <form class="" name="login" id="forgot" action="{{ url('/user/forgotpwd') }}" method="post">
           <input type="hidden" name="_token" value="{{ csrf_token() }}">
          <div class="form">
           
            <div class="col-sm-12">
              <div class="form-group">
                <input type="text" class="form-control" placeholder="Email Address" name="email">
              </div>
            </div>
           
            
            <div class="col-sm-4">
                <button type="submit" class="btn forgot-btn" name="forgot" id="signup_submit" value="forgot">Send</button>
            </div>
            
          </div>
        </form> 
        </div>
        </div>      
        </div>
      </div>
    </div>
  </section>

@endsection
@section('js')
<script src="{{ asset('js/bootstrapValidator.min.js')}}"></script>
<script src="{{ asset('js/maskedinput/jquery.maskedinput.min.js')}}"></script>
<script src="{{ asset('js/validation.js')}}"></script>
@endsection
