{if $error}  
    {foreach from=$error item=e}
  • {$e}
  • {/foreach}

{/if}