<#if !entry.onlyDisplayInBack || is_completeness_bo> <#assign idName = 'attribute' + entry.idEntry> <#assign codeGallery = getFieldByCode(entry,'code_gallery').value > <#assign idFileSelected = ''> <#assign galleryHelp><#if entry.helpMessage?exists&&entry.helpMessage!=''>${entry.helpMessage} <#if list_responses?? && list_responses?has_content><#list list_responses as response><#if response?? && response.file??><#assign idFileSelected = response.file.idFile /> <@cRow class='mb-sm'> <@cCol> <@cLabel label=entry.title for=idName id='label${entry.idEntry}' required=.mandatory /> <#if galleryHelp !=''><@cFormHelp id='help_${idName}' label=entry.helpMessage /> <@galleryImage codeGallery=codeGallery inputName=idName idFileSelected=idFileSelected /> <#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>#i18n{forms.message.mandatory.entry}<#else>${error.errorMessage} <@cFormError id='err_${idName}'' label=error />