<?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_expense')); ?></h5>

        </div>

        <?php echo Form::open(['route' => ['expenses.store'], 'class' => 'ajax-submit']); ?>

        <div class="modal-body">

            <?php if(count($errors) > 0): ?>

            <?php echo form_errors($errors); ?>

            <?php endif; ?>

            <?php echo $__env->make('expenses.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(); ?>