<?php $__env->startSection('title', $active . ' | ' . admin_trans('How It Works Steps')); ?>
<?php $__env->startSection('link', route('admin.steps.create')); ?>
<?php $__env->startSection('language', true); ?>
<?php $__env->startSection('content'); ?>
    <div class="card">
        <table class="table w-100 ask-datatable">
            <thead>
                <tr>
                    <th class="tb-w-2x"><?php echo e(admin_trans('#')); ?></th>
                    <th class="tb-w-3x"><?php echo e(admin_trans('Language')); ?></th>
                    <th class="tb-w-20x"><?php echo e(admin_trans('Title')); ?></th>
                    <th class="tb-w-7x"><?php echo e(admin_trans('Published date')); ?></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                <?php $__currentLoopData = $steps; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $step): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr class="item">
                        <td><?php echo e($step->id); ?></td>
                        <td><a href="<?php echo e(route('admin.settings.languages.translates', $step->lang)); ?>"><i
                                    class="fas fa-language me-2"></i><?php echo e($step->language->name); ?></a>
                        </td>
                        <td>
                            <a href="<?php echo e(route('admin.steps.edit', $step->id)); ?>"
                                class="text-dark"><?php echo e(shortertext($step->title, 40)); ?></a>
                        </td>
                        <td><?php echo e(dateFormat($step->created_at)); ?></td>
                        <td>
                            <div class="text-end">
                                <button type="button" class="btn btn-sm rounded-3" data-bs-toggle="dropdown"
                                    aria-expanded="true">
                                    <i class="fa fa-ellipsis-v fa-sm text-muted"></i>
                                </button>
                                <ul class="dropdown-menu dropdown-menu-sm-end" data-popper-placement="bottom-end">
                                    <li>
                                        <a class="dropdown-item" href="<?php echo e(route('admin.steps.edit', $step->id)); ?>"><i
                                                class="fa fa-edit me-2"></i><?php echo e(admin_trans('Edit')); ?></a>
                                    </li>
                                    <li>
                                        <hr class="dropdown-divider" />
                                    </li>
                                    <li>
                                        <form action="<?php echo e(route('admin.steps.destroy', $step->id)); ?>" method="POST">
                                            <?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?>
                                            <button class="vironeer-able-to-delete dropdown-item text-danger"><i
                                                    class="far fa-trash-alt me-2"></i><?php echo e(admin_trans('Delete')); ?></button>
                                        </form>
                                    </li>
                                </ul>
                            </div>
                        </td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.layouts.grid', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/neofiles.codenine.biz.id/resources/views/backend/others/steps/index.blade.php ENDPATH**/ ?>