#if entry.helpMessage?exists&&entry.helpMessage!=''>
<#assign helpKey = '${entry.helpMessage}' />
<#else>
<#assign helpKey = '' />
#if>
<@formGroup labelFor='${entry.idEntry}' labelKey='${entry.title}' helpKey=helpKey mandatory=entry.mandatory>
<#if max_number?exists && !default_values?has_content>
<#list entry.fields as field>
<#if field.title?exists>
<@staticText>${field.title} ${max_number}@staticText>
#if>
#list>
<#elseif default_values?has_content>
<#list default_values as default_value>
<@staticText>${default_value.entry.convertRecordFieldValueToString(default_value,locale,false,false)}@staticText>
#list>
<#else>
<@staticText>#i18n{directory.entry_type_numbering.labelAutomaticNumbering}@staticText>
#if>
@formGroup>