<?php $__env->startComponent('admin.components.card'); ?>
    <?php if(isset($title)): ?>
        <?php $__env->slot('title', $title); ?>
    <?php endif; ?>

    <?php if(isset($header)): ?>
        <?php $__env->slot('header', $header); ?>
    <?php endif; ?>

    <?php if(isset($class)): ?>
        <?php $__env->slot('class', $class); ?>
    <?php endif; ?>

    <?php if(isset($modal)): ?>
        <?php $__env->slot('modal', $modal); ?>
    <?php endif; ?>

    <form id="<?php echo e($id ?? ''); ?>" action="<?php if(isset($route)): ?> <?php echo e($route); ?> <?php endif; ?>" method="post" autocomplete="off" enctype="multipart/form-data">
        <?php if(isset($edit)): ?>
            <?php echo method_field('put'); ?>
        <?php endif; ?>
        <?php echo csrf_field(); ?>

        <div class="row">
            <?php echo e($slot); ?>

        </div>

        <div class="text-center mt-4">
            <button type="submit" class="btn btn-success">
                <?php if(isset($button)): ?>
                    <?php echo e($button); ?>

                <?php else: ?>
                <i class="fas fa-save mr-2"></i><?php if(isset($edit)): ?> <?php echo e(__('Update')); ?> <?php else: ?> <?php echo e(__('Create')); ?> <?php endif; ?>
                <?php endif; ?>
            </button>
        </div>
    </form>
<?php echo $__env->renderComponent(); ?>
<?php /**PATH /home/ifsb/public_html/portal.ifsb.org/resources/views/admin/components/form.blade.php ENDPATH**/ ?>