<?php $__env->startSection('content'); ?>

	<h2>Register</h2>

 	<?php if($errors->has()): ?>
    	<div class="alert alert-danger">
		<?php foreach ($errors->all() as $row): ?>
	      <p><?php echo $row; ?></p>
	  	<?php endforeach; ?>
        </div>
	<?php endif; ?>	
	
	<?php echo Form::open(array('action' => 'AccountController@postRegister')); ?>

	  	<p>		
	  		<?php echo Form::hidden('email', Session::get('user_email'), array('id' => 'email', 'placeholder' => 'Email Address', 'class'=>'form-control')); ?>	  
	  	</p>
	  	<p>		
	  		<?php echo Form::password('password', array('id' => 'password', 'placeholder' => 'Password', 'class'=>'form-control')); ?>	  
	  	</p>
	  	
	    <p class="buttons">
	        <button type="submit" class="btn btn-primary">Register</button>
		</p>
	<?php echo Form::close(); ?>
	
	<p class="note">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>
    
<?php $__env->stopSection(); ?>  