<!--begin::Table-->
<table id="kt_datatable_dom_positioning" class="table table-striped table-row-bordered gy-5 gs-7 border rounded">
    <!--begin::Thead-->
    <thead>
        <tr class="fw-6 fw-semibold text-gray-600">
            <th><?php echo e(__('lang.image')); ?></th>
            <th><?php echo e(__('lang.title')); ?></th>
            <th><?php echo e(__('lang.actions')); ?></th>
        </tr>
    </thead>
    <!--end::Thead-->
    <!--begin::Tbody-->
    <tbody>
        <?php $__currentLoopData = $articles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td>
                    <?php if (isset($component)) { $__componentOriginal4ddc266916e922f07a09c08188013fdb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal4ddc266916e922f07a09c08188013fdb = $attributes; } ?>
<?php $component = App\View\Components\ImageTag::resolve(['url' => $article->image] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('image-tag'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\ImageTag::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal4ddc266916e922f07a09c08188013fdb)): ?>
<?php $attributes = $__attributesOriginal4ddc266916e922f07a09c08188013fdb; ?>
<?php unset($__attributesOriginal4ddc266916e922f07a09c08188013fdb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal4ddc266916e922f07a09c08188013fdb)): ?>
<?php $component = $__componentOriginal4ddc266916e922f07a09c08188013fdb; ?>
<?php unset($__componentOriginal4ddc266916e922f07a09c08188013fdb); ?>
<?php endif; ?>
                </td>
                <td>
                    <span class="badge badge-light-success fs-7 fw-bold"><?php echo e($article->title); ?></span>
                </td>
                <td>
                    <?php if(auth()->user()->can('update articles')): ?>
                        <a href="<?php echo e(route('articles.edit', $article->id)); ?>" class="btn btn-sm btn-light me-2">
                            <i class="bi bi-pencil-square"></i>
                        </a>
                    <?php endif; ?>

                    <?php if(auth()->user()->can('delete articles')): ?>
                        <a data-url="<?php echo e(route('article.destroy', $article->id)); ?>" type='button'
                            class="btn btn-sm btn-danger me-2 delete-btn">
                            <i class="bi bi-file-x-fill"></i>
                        </a>
                    <?php endif; ?>

                </td>
            </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
    <!--end::Tbody-->
</table>
<!--end::Table-->
<?php /**PATH /home/oday/public_html/mazdashboard.alialzahabia.com/resources/views/AdminPanel/articles/table.blade.php ENDPATH**/ ?>