<?php $__env->startSection('title', 'Add a business'); ?>

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

    <div class="page-header">
        <h1>Add a new business</h1>
        <p>Use the form below to add a business into the system</p>
    </div>

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

    <form name="AddBusiness" method="POST" class="form-horizontal" enctype="multipart/form-data" action="<?php echo e(URL::route('admin.business.store')); ?>">

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

        <div class="col-sm-2">
        </div>

        <div class="col-sm-10">
            <button type="submit" class="btn btn-default">Add Business</button>
        </div>

    </form>

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

<?php $__env->startSection('scripts'); ?>
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAdJic7fQgvnpKi6WS_leNp426ub4--uy4"></script>
<?php $__env->stopSection(); ?>

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