<#assign idName = buildEntryName( entry, entry_iteration_number )> <#if entry.helpMessage?exists&&entry.helpMessage!=''> <#assign helpKey=entry.helpMessage /> <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.error??> <#assign groupStyle = 'error' /> <#break> <#assign inputClass = entry.CSSClass! /> <@formGroup labelFor='${idName}' labelKey='${entry.title}' helpKey=helpKey!'' groupStyle=groupStyle!'' mandatory=entry.mandatory> <@input type='hidden' name='${idName}' id='${idName}' /> <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.error?? && response.entry.error.isDisplayableError> <@alert color='danger'> <#assign error = response.entry.error> <#if error.mandatoryError> #i18n{forms.message.mandatory.entry} <#else> ${error.errorMessage}