{if not empty($errors)}
{foreach from=$errors item=error} {$error}
{/foreach}
{/if}