<{foreach from=$forms item=form}> <{if $form.type == 'text'}>
<{/if}> <{if $form.type == 'textarea'}>

<{/if}> <{if $form.type == 'select'}>
<{/if}> <{/foreach}>