<?php $__env->startSection('title', 'Forgot Password'); ?>

<?php $__env->startSection('content'); ?>

  <div class="row">
      <div class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-4 col-md-offset-4">
        <div class="login-panel panel panel-default">
          <div class="panel-heading">Forgot Password</div>
          <div class="panel-body">
            <?php if(count($errors) > 0): ?>
                <div class="alert alert-danger">
                    <strong>Whoops!</strong> There were some problems with your input.<br>
                    <ul>
                        <?php foreach($errors->all() as $error): ?>
                            <li><?php echo e($error); ?></li>
                        <?php endforeach; ?>
                    </ul>
                </div>
            <?php endif; ?>
            <?php if(Session::has('status')): ?>
              <div class="alert alert-success"><?php echo e(Session::get('status')); ?></div>
            <?php endif; ?>
            <?php echo Form::open(array('url' => '/password/email', 'role' => 'form')); ?>

              <fieldset>
                <div class="form-group">
                  <?php echo Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Enter email', 'required' => 'required', 'autofocus' => '']); ?>

                </div>
                <?php echo Form::submit('Send Password Reset Link', ['class'=>'btn btn-primary']); ?>

                <a href="/login">Return to Login</a>
                </div>
              </fieldset>
            <?php echo Form::close(); ?>

          </div>
        </div>
      </div>
    </div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>