% if $canEdit %> <% _t('UploadField.EDIT', 'Edit') %> <% end_if %> <% _t('UploadField.REMOVE', 'Remove') %> <% if $canDelete %> <% _t('UploadField.DELETE', 'Delete from files') %> <% end_if %> <% if $UploadField.canAttachExisting %> <% _t('UploadField.CHOOSEANOTHERFILE', 'Choose another file') %> <% end_if %>