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

<div class="container-fluid">
	<div id="page-login" class="row">
		<div class="col-xs-12 col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
			<div class="box">
				<div class="box-content">

                    <?php if(count($errors) > 0): ?>
                        <div class="alert alert-danger">
                	        <strong>Whoops!</strong> There were some problems with your input.<br><br>
                		    <ul>
                		        <?php foreach($errors->all() as $error): ?>
                			        <li><?php echo e($error); ?></li>
                			    <?php endforeach; ?>
                		    </ul>
                	    </div>
                    <?php endif; ?>

					<div class="text-center">
						<h3 class="page-header">Register</h3>
					</div>
                    <form class="" role="form" method="POST" action="<?php echo e(url('/auth/register')); ?>">
                        <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
    					<div class="form-group">
                            <label class="control-label">Name</label>
                        	<div>
                        	    <input type="text" class="form-control" name="name" value="<?php echo e(old('name')); ?>">
                        	</div>
                        </div>

                        <div class="form-group">
                            <label class="control-label">E-Mail Address</label>
                        	<div>
                        	    <input type="email" class="form-control" name="email" value="<?php echo e(old('email')); ?>">
                        	</div>
                        </div>

                        <div class="form-group">
                            <label class="control-label">Password</label>
                        	<div>
                        	    <input type="password" class="form-control" name="password">
                        	</div>
                        </div>

                        <div class="form-group">
                            <label class="control-label">Confirm Password</label>
                        	<div>
                        	    <input type="password" class="form-control" name="password_confirmation">
                        	</div>
                        </div>
                        <div class="form-group">
                            <div class="">
                    	        <button type="submit" class="btn btn-primary">Register</button>
                            </div>
                        </div>
                    </form>
				</div>
			</div>
		</div>
	</div>
</div>
<?php $__env->stopSection(); ?>

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