{* FUNCTIONS DECLARATION SECTION BEGIN *} {function render_errors errors=[]} {foreach $errors as $error} {$error} {/foreach} {/function} {function render_wrapped field_id='' caption='' html='' class='' style=''} {$caption = $caption|escape}