{foreach from=$fields_array item=v name=custom} {if !isset($edit) || !$edit || $v.type!="terms"}
{/if}
{if $v.type=="image"}
{/if}
{/if}
{/if}
{if $v.type=="textarea"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{/if}
{if $v.type=="htmlarea"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{/if}
{if $v.type=="menu"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{if $v.other_val}
{if isset($tmp[$v.caption]) && $tmp[$v.caption] && $tmp[$v.caption]!="all" && !in_array($tmp[$v.caption], $v.elements_array)}
{else}
{/if}
{/if}
{/if}
{if $v.type=="multiselect"}
{/if}
{if $v.type=="radio"}
{foreach from=$v.elements_array item=t}
{if $v.prefix!=""} {$v.prefix} {/if}
{$t}
{if $v.postfix!=""} {$v.postfix} {/if}
{/foreach}
{/if}
{if $v.type=="radio_group"}
{/if}
{if $v.type=="checkbox"}
{/if}
{if $v.type=="checkbox_group"}
{/if}
{if $v.type=="date" }
{include file="data/date.html"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{/if}
{if $v.type=="youtube"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{/if}
{if $v.type=="google_maps" }
{if $v.info_message}