<% if $Items %>
<% loop $Items %>
-
<% if Top.isDisabled || Top.isReadonly %>
<% else %>
$UploadFieldFileButtons
<% end_if %>
<% end_loop %>
<% end_if %>
<% if isDisabled || isReadonly %>
<% if isSaveable %>
<% else %>
<% _t('FileIFrameField.ATTACHONCESAVED2', 'Files can be attached once you have saved the record for the first time.') %>
<% end_if %>
<% else %>
<% end_if %>