<?php $__env->startSection('content'); ?>
<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h5 class="modal-title"><?php echo e(trans('application.add_product')); ?></h5>
        </div>
        <?php echo Form::open(['route' => ['products.store'], 'class' => 'ajax-submit']); ?>
        <div class="modal-body">
            <?php if(count($errors) > 0): ?>
            <?php echo form_errors($errors); ?>
            <?php endif; ?>
            <?php echo $__env->make('products.partials._form', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        </div>
        <div class="modal-footer">
        <?php echo form_buttons(); ?>
        </div>
        <?php echo Form::close(); ?>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('modal', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>