% if canEdit %> <% _t('UploadField.EDIT', 'Edit') %> <% if UploadFieldHasRelation %> <% _t('UploadField.REMOVE', 'Remove') %> <% end_if %> <% end_if %> <% if canDelete %> <% _t('UploadField.DELETE', 'Delete from files') %> <% end_if %>