<?php $__env->startSection('content'); ?>Here is the application.

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

<?php echo Form::open(array('url' => '/application/make', 'class'=>'form-basic -form-compact -topline')); ?>

<fieldset>
<?php echo Form::label('firstname', 'First Name'); ?>

<div class="input">
	<?php echo Form::text('firstname',null, array('class'=>($errors->has("firstname")?"fieldWithErrors small":"small"))); ?>

</div>
<br>
<?php echo Form::label('lastname', 'Last Name'); ?>

<div class="input">
<?php echo Form::text('lastname',null,array('class'=>($errors->has("lastname")?"fieldWithErrors small":"small"))); ?>

</div>
<br>
<?php echo Form::label('email', 'Email'); ?>

<div class="input">
<?php echo Form::text('email',null,array('class'=>($errors->has("email")?"fieldWithErrors medium":"medium"))); ?>

</div>
<br>
<?php echo Form::label('reason', 'Reason'); ?>

<div class="input">
<?php echo Form::textarea('reason',null,array('class'=>($errors->has("reason")?"fieldWithErrors":""))); ?>

</div>
</fieldset>
<br>
<?php echo Form::submit('Submit Button'); ?>

<?php echo Form::close(); ?>


<?php $__env->stopSection(); ?>


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