list/table: do not render empty tables

This commit is contained in:
Thomas Gelf 2016-06-16 14:44:01 +02:00
parent 61ff51c52b
commit 56bc31ce97
1 changed files with 2 additions and 0 deletions

View File

@ -10,5 +10,7 @@
<div class="content"<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
<?= $this->form ?>
<?php if ($table->count()): ?>
<?= $this->table->render() ?>
<?php endif ?>
</div>