<#assign fieldName='attribute'+entry.idEntry >
<#assign cssClass=entry.CSSClass!'' >
<#if list_responses??>
<#list list_responses as response>
<#if response.entry.idEntry == entry.idEntry && response.entry.error??>
<#assign cssClass='error' >
<#break>
#if>
#list>
#if>
<@addFileInput fieldName=fieldName handler=uploadHandler cssClass=cssClass multiple=true />
<#if entry.helpMessage?exists&&entry.helpMessage!=''>
${entry.helpMessage}
#if>
<#if list_responses?? && list_responses?has_content>
<#assign response_error = list_responses[0]>
<#if response_error.entry.idEntry == entry.idEntry && response_error.entry.error?? && response_error.entry.error.isDisplayableError>
<#assign error = response_error.entry.error>
<#if error.mandatoryError>
${error.errorMessage}
<#else>
#i18n{appointment.message.mandatory.entry}
#if>
#if>
#if>