<?php $__env->startSection('content'); ?>

 	<?php if (Session::has('error')): ?>
	    <?php echo trans(Session::get('reason')); ?>
	<?php endif; ?>
    
    <?php if($errors->has()): ?>
    	<div class="alert alert-danger">
		<?php foreach ($errors->all() as $row): ?>
	      <?php echo $row; ?><br />
	  	<?php endforeach; ?>
        </div>
	<?php elseif (Session::has('success')): ?>
	   <div class="alert alert-success"> An e-mail with the password reset has been sent.</div>
	<?php endif; ?> 
	
    
	<?php echo Form::open(array('action' => 'AccountController@postReset')); ?>
    <input type="hidden" name="token" value="<?php echo $token; ?>">
   	<div class="black-form reset-pass">
		<a href="<?php echo URL::to('/'); ?>" class="banq-logo"></a>
		<div class="lock"></div>
		<p>Reset Password</p>
        
     	<div class="form-group">
			<?php echo Form::password('password', array('id' => 'password', 'class' => 'form-control', 'required' => true, 'placeholder' => 'Password')); ?>
		</div>
		<div class="form-group">
			<?php echo Form::password('password_confirmation', array('id' => 'password_confirmation', 'class' => 'form-control', 'required' => true, 'placeholder' => 'Confirm Password')); ?>
		</div>
		<button type="submit" class="btn">RESET PASSWORD</button>
		<p class="info">We are committed to maintaining the confidentiality, integrity and security of any personal information about our users. Please refer to our <a href="#">Security and Privacy Policy</a> for more information on our standards and practices.</p>
	</div>
    <?php echo Form::close(); ?>
    
<?php $__env->stopSection(); ?>  