foreach from=$cmfields item=field key=fieldID ?>
if $field.type == 'CHECKBOX' ?>
include fieldName=$fieldID file="fields/f"|cat:$field.type|cat:".htm"|lower ?>
else ?>
include fieldName=$fieldID file="fields/f"|cat:$field.type|cat:".htm"|lower ?>
/if ?>
/foreach ?>