<!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, shrink-to-fit=no">
    	<?php echo $__env->yieldContent('IncStyles'); ?>
    	<?php echo $__env->yieldContent('Style'); ?>
    	<?php echo $__env->yieldContent('IncScripts-Top'); ?>
	</head>
	<body>
		<?php echo $__env->yieldContent('Header'); ?>
		<?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-Bottom'); ?>
		<?php echo $__env->yieldContent('Scripts'); ?>
		<?php echo $__env->yieldContent('GA'); ?>
	</body>
</html>