{if $item->actionToolbar} {include file="ViewController/list-actionToolbar.tpl"|SMGetTemplate} {/if} list|@count > 0} class="tbl-fluid"{/if}> attribs|@html_render_attribs}> {if $item->list|@count > 0} {include file = $item->getTemplate('list-cols.tpl') columns = $item->columns} {/if} {foreach from = $item->list item = row name = 'row'} {assign var = 'entity' value = $item->createEntity($row)} {include file=$item->getTemplate('row.tpl')} {foreachelse} {include file=$item->getTemplate('row-empty-list.tpl')} {/foreach}
{if $item->paginator} {include file="ViewController/list-paginator.tpl"|SMGetTemplate paginator = $item->paginator} {/if}