<#include "/admin/plugins/announce/commons.html" />
<#if list_responses?? && list_responses?has_content> <#if list_responses?size > 1 > <#assign class = "pirobox_gall"> <#else> <#assign class = "pirobox"> <#assign hasImage = false > <#list list_responses as response> <#if response.file?? && response.file.idFile > 0> <#assign hasImage = true > <#break> <#if hasImage>




<#list entry.fields as field> <#if !field.title??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.error??> class="error" class="form-control ${entry.CSSClass!}" /> <#if entry.helpMessage?exists&&entry.helpMessage!=''> ${entry.helpMessage} <#if list_responses?? && list_responses?has_content> <#assign response_error = list_responses[0]> <#if response_error.entry.idEntry == entry.idEntry && response_error.entry.error??>
<#assign error = response_error.entry.error> <#if error.mandatoryError> #i18n{announce.message.mandatory.entry} <#else> ${error.errorMessage}
<#-- file removing --> <#assign has_files = false> <#if list_responses?? && list_responses?has_content> <#assign response_error = list_responses[0]> <#if response_error.entry.idEntry == entry.idEntry> <#assign has_files = true>
style="display:none;" id="_file_deletion_label_attribute_${entry.idEntry}">
<#assign file_index = 0> <#if has_files> <#list list_responses as response> <#if response.file?? && response.file.title?? && response.file.title != ''>
<#assign file_index = file_index + 1>