<?php if ($items): ?>
    <ul>
        <?php foreach ($items as $table):
            $dataId = 'databaseTable-'.$table;
        ?>
            <li class="item" 
                data-id="<?= e($dataId) ?>" 
            >
                <a href="#" data-builder-command="databaseTable:cmdOpenTable" data-id="<?= e($table) ?>">
                    <span class="title"><?= e($table) ?></span>
                    <span class="borders"></span>
                </a>
            </li>
        <?php endforeach ?>
    </ul>
<?php else: ?>
    <p class="no-data"><?= e(trans($this->noRecordsMessage)) ?></p>
<?php endif ?>