Location: PHPKode > projects > The Fresh Toolkit > fresh-0.1.213/code_templates/templates/FFormTemplate.tpl
{capture name="/*$actionName*/formContent"}
<div style="border:1px solid; padding:5px;">
{if $form.errors}
    {foreach from=$form.errors item=error} 
        {$error}
    {/foreach}
{/if}
form /*$actionName*/Form
 <input type="submit" name="/*$actionName*/_submit" value="Submit">
</div> 
{/capture}
{include file="$SHTEMPLATES_DIR/fforms/fform.tpl" form=$form formContent=$smarty.capture./*$actionName*/formContent}
Return current item: The Fresh Toolkit