<div>
    <div class="modal fade" id="dataModal">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLabel">Data</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <!--[if BLOCK]><![endif]--><?php if(!empty($data) && !empty($formInfo->id)): ?>
                        <div class="card col-8 m-auto">
                            <div class="card-header">
                                <?php echo e($formInfo->name); ?>

                            </div>
                            <div class="card-body">
                                <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $forms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $form): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php $val='' ?>
                                    <!--[if BLOCK]><![endif]--><?php if($form->type=='header'): ?>
                                    <h1><?php echo e($form->label); ?></h1>
                                    <?php elseif($form->type=='paragraph'): ?>
                                    <p><?php echo e($form->label); ?></p>
                                    <?php elseif(!empty($form->name) && !empty($form->label)): ?>
                                        <?php $val=$form->name ?>
                                        <div class="row">
                                            <div class="col-6 text-end"><b><?php echo e($form->label); ?>: </b></div>
                                            <div class="col-6 text-start"><p> <?php echo json_encode($data->form_content[$val] ?? '', 15, 512) ?></p></div>
                                        </div>
                                    <?php elseif(!empty($form->label)): ?>
                                        <p><?php echo e($form->label); ?></p>
                                    <?php endif; ?><!--[if ENDBLOCK]><![endif]-->()<!--[if ENDBLOCK]><![endif]-->
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]-->
                            </div>
                        </div>
                    <?php else: ?>
                        <div>No Data Found</div>
                    <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
                </div>
            </div>
        </div>
    </div>
</div>
<?php /**PATH C:\laragon\www\marketing_data_analysis\resources\views/livewire/data-form/view-data.blade.php ENDPATH**/ ?>