<{$form.javascript}> >
<{foreach item=element from=$form.elements}> <{if $element.name == ''}> <{if $element.caption}><{$element.caption}><{/if}> <{$element.body}> <{elseif $element.hidden != true}>
" id="<{$element.name}>_row"> <{$element.caption}><{if $element.required}>*<{/if}> <{if $element.description}> <{$element.description}> <{/if}>
<{if $element.required}> <{$element.body|replace:'input':'input required'}> <{else}> <{$element.body}> <{/if}>
<{else}> <{$element.body}> <{/if}> <{/foreach}>