<?php $__env->startSection('content'); ?>
<div class="container">
	<div class="form-box">
		<div class="box-body">	
			<h2>FORGOT PASSWORD</h2>	
	
		 	<?php if($errors->has()): ?>
				<?php foreach ($errors->all() as $row): ?>
			      <div><?php echo $row; ?></div>
			  	<?php endforeach; ?>
			<?php elseif (Session::has('success')): ?>
			    An e-mail with the password reset has been sent.
			<?php endif; ?>  	
			
			<?php echo Form::open(array('action' => 'AccountController@postForgot')); ?>
				<p><small>Enter the email address associated with your account, and we'll email you a link to reset your password.</small></p>
				<p>	
			  		<?php echo Form::text('email', null, array('id' => 'email', 'placeholder' => 'Email address', 'required' => 'true', 'class' => 'form-control')); ?>	  
			  	</p>	  	
			    <p>
			        <button type="submit" class="btn btn-primary">SUBMIT</button>
				</p>
			<?php echo Form::close(); ?>
		</div>
	</div>
</div>
<?php $__env->stopSection(); ?>  