{if $item->title}{$item->title|htmlspecialchars}
{/if}
{foreach from=$item->list item='row'}
- currentId == $row.id} class="active"{/if}>{$row.title|htmlspecialchars}{if $row.count} ({$row.count}){/if}
{foreachelse}
- No {$item->title|htmlspecialchars}
{/foreach}