<#include "/admin/plugins/form/commons.html" />
<#list entry.fields as field> <#if !field.title??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.formError??> class="error" /> <#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.formError??>
<#assign formError = response_error.entry.formError> <#if formError.mandatoryError> <#else>
<#-- 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>
 
<#assign file_index = 0>
class="hide" id="_file_deletion_form_${entry.idEntry}"> <#if has_files> <#list list_responses as response> <#if response.fileName?? && response.fileName != ''>
  ${response.fileName}
<#assign file_index = file_index + 1>