Latte simple foreach with {first} {last} macro 28/10/2014

{foreach $form->errors as $error} {first}<ul>{/first} <li class="error">{$error}</li> {last}</ul>{/last} {/foreach}
{foreach $form->errors as $error}
    {first}<ul>{/first}
    <li class="error">{$error}</li>
    {last}</ul>{/last}
{/foreach}