<#assign idName = 'attribute' + entry.idEntry>
<#if entry_iteration_number?has_content && entry_iteration_number gt 0>
<#assign idName = 'nIt' + entry_iteration_number + '_attribute' + entry.idEntry>
#if>
<#assign field_image_type=getFieldByCode( entry, "image_type")>
<#if field_image_type?? >
<#assign imageType= field_image_type.value>
<#else>
<#assign imageType= "png">
#if>
<#assign field_width=getFieldValueByCode( entry, "width")>
<#if field_width?number > 0>
<#assign width= field_width?number>
#if>
<#assign field_height=getFieldValueByCode( entry, "height")>
<#if field_height?number > 0>
<#assign height= field_height?number>
#if>
<#list list_responses as response><#if response.entry.idEntry == entry.idEntry><#if response.toStringValueResponse??> value="${response.toStringValueResponse}"#if><#if response.entry.error??> class="error"#if>#if>#list><#else>value="" #if> class="${entry.CSSClass!}">
<#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{form.message.mandatory.entry}<#else>${error.errorMessage}#if>
#if>
#list>
#if>