<?= \Shared\Tpl\Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>

<?php if (!empty($this->viewModel->customScriptView)): ?>
  <?= \Shared\Tpl\Tpl::view($this->viewModel->customScriptView, ['list' => $this->viewModel]); ?>
<?php endif; ?>
