<#if document_attribute_code_list[i] != "file" && document_attribute_code_list[i] != "image">
<#elseif attribute.id != -1>
<#elseif !id_mandatory_doc_attr_file_img??>
<#-- No mandatory document attribute type file/image, then display the button to change the assignment for attribute file/image -->
#if>