{foreach from=$errors key=error item=errmess}
	<p class="error alert alert-danger">
		{if $error eq 'NO_SUCH_USER'}
			[[Wrong email or password. Let's try again!]]
		{elseif $error eq 'USER_NOT_ACTIVE'}
			[[Your account is not active]]
		{else}
			[[$error]] [[$errmess]]
		{/if}
	</p>
{/foreach}