<!DOCTYPE html>
<html lang="en">
	<head>
    	<meta charset="utf-8">
    	<title>
    		<?php if(isset($title)): ?>
    			<?php echo e($title); ?>

    		<?php else: ?>
    			CentraCom
    		<?php endif; ?>
    	</title>
    	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    	<?php echo $__env->yieldContent('IncStyle'); ?>
    	<?php echo $__env->yieldContent('style'); ?>
	</head>
	<body>
		<?php echo $__env->yieldContent('NavBlack'); ?>
		<?php echo $__env->yieldContent('NavWhite'); ?>
		
		<?php if(session('status')): ?>
			<div class="alert alert-success" style="margin-bottom: 0;">
				<?php echo session('status'); ?>

			</div>
		<?php endif; ?>

		<?php if(count($errors) > 0): ?>
			<div class="alert alert-danger" style="margin-bottom: 0;">
				<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; ?>
		
		<?php echo $__env->yieldContent('content'); ?>
		
		<?php echo $__env->yieldContent('Footer'); ?>
		<?php echo $__env->yieldContent('IncScripts'); ?>
		
		<?php echo $__env->yieldContent('scripts'); ?>
		
		<?php echo $__env->yieldContent('ga'); ?>

	</body>
</html>