{foreach $customfields as $customfield}
{$customfield.input} {if $customfield.description}

{$customfield.description}

{/if}
{/foreach}