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

<div class="col-md-9">

	<div class="">
		<h2><?php echo e($title_head); ?></h2>
    </div>

	<p>
	This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.
	</p>
	
	<?php echo e(dump(Session::all())); ?>

	
	<?php if(count($errors) > 0): ?>
		<div class="alert alert-danger">
			<ul>
				<?php foreach($errors->all() as $error): ?>
					<li><?php echo e($error); ?></li>
				<?php endforeach; ?> 
				
			</ul>
		</div>
	<?php endif; ?>

	<form method="post" action="<?php echo e(route('contact')); ?>">
	
	   <?php echo csrf_field(); ?>

	   
	  <div class="form-group">
	    <label for="name">Name</label>
	    <input type="text" class="form-control" id="name" name="name" value="<?php echo e(old('name')); ?>" placeholder="Jane Doe">
	  </div>
	  <div class="form-group">
	    <label for="email">Email address</label>
	    <input type="email" class="form-control" id="email" value="<?php echo e(old('email')); ?>" name="email" placeholder="Email">
	  </div>
	  <div class="form-group">
	    <label for="site">Site</label>
	    <input type="text" class="form-control" id="site" value="<?php echo e(old('site')); ?>" name="site" placeholder="Site">
	  </div>
	  <div class="form-group">
	    <label for="text">Text</label>
	    <textarea class="form-control" id="text" name="text" rows="3"><?php echo e(old('text')); ?></textarea>
	  </div>
	  <button type="submit" class="btn btn-primary">Submit</button>
	</form>
</div>	
<?php $__env->stopSection(); ?>
<?php echo $__env->make('default.layouts.layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>