{var $shortDateFormat = ('short_date_format'|translate)}
{foreach $pages as $page}
<li class="w3-display-container">
    <a href="{=BASE_URL}/{$page->title}">{$page->title}</a> <time>{$page->updated_at|date:$shortDateFormat} {$page->updated_at|date:'h:i'}</time>
    {var $confirm = ('confirm_delete_page'|translate:$page->title)}
    <a href="{=BASE_URL}/{$page->title}/delete" class="w3-btn w3-red w3-tiny w3-round w3-display-right" onclick="return confirm('{$confirm|noescape}');">{_}delete{/_}</a>
</li>
{/foreach}
