<#if entry.helpMessage?exists&&entry.helpMessage!=''> <#assign helpKey = '${entry.helpMessage}' /> <#else> <#assign helpKey = '' /> <@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} <#elseif default_values?has_content> <#list default_values as default_value> <@staticText>${default_value.entry.convertRecordFieldValueToString(default_value,locale,false,false)} <#else> <@staticText>#i18n{directory.entry_type_numbering.labelAutomaticNumbering}