<#assign idName = buildEntryName( entry, entry_iteration_number )>
<#assign inputClass = '${entry.CSSClass!}' />
<#if list_responses??>
<#list list_responses as response>
<#if response.entry.idEntry == entry.idEntry && response.entry.error??>
<#assign inputClass = 'is-invalid' />
<#break>
#if>
#list>
#if>
<#if entry.helpMessage?exists&&entry.helpMessage!=''>
${entry.helpMessage}
#if>
<#if list_responses??>
<#list list_responses as response>
<#if response.entry.idEntry == entry.idEntry && response.entry.error?? && response.entry.error.isDisplayableError>
<#assign error = response.entry.error>
<#if error.mandatoryError>
#i18n{forms.message.mandatory.entry}
<#else>
${error.errorMessage}
#if>
#if>
#list>
#if>
#if>
@cTpl>