<?php if ($items): ?>
    <ol>
        <?= $this->makePartial('treebranch', ['items' => $items]) ?>
    </ol>
<?php else: ?>
    <p class="no-data"><?= trans($this->noRecordsMessage) ?></p>
<?php endif ?>

<input type="hidden" name="theme" value="<?= e($this->theme->getDirName()) ?>" />