<#list entry_list as entry>
<#if entry.entryType.group>
<#if entry.children?has_content>
<#list entry.children as children >
<#assign has_value = false>
<#if map_id_entry_list_record_field??>
<#assign entryKey= "" + children.idEntry>
<#if map_id_entry_list_record_field[entryKey]??>
${children.getHtmlFormEntry( locale, map_id_entry_list_record_field[entryKey], true )}
<#assign has_value = true>
#if>
#if>
<#if !has_value>
${children.getHtmlFormEntry( locale,true )}
#if>
#list>
#if>
<#else>
<#if entry.children?has_content>
<#list entry.children as children >
<#assign has_value = false>
<#if map_id_entry_list_record_field??>
<#assign entryKey= "" + children.idEntry>
<#if map_id_entry_list_record_field[entryKey]??>
${entry.getHtmlFormEntry( locale, map_id_entry_list_record_field[entryKey], true )}
<#assign has_value = true>
#if>
#if>
<#if !has_value>
${entry.getHtmlFormEntry( locale,true )}
#if>
#list>
#if>
#if>
#list>
<#-- <#if properties.captchaActive> -->
<#if is_active_captcha>
${captcha}
#if>
<#-- #if> -->