@if (inputDataUpload) {
  <form name="deleteForm" (ngSubmit)="confirmDelete(inputDataUpload.id!)">
    <div class="modal-header">
      <h4 class="modal-title" data-cy="inputDataUploadDeleteDialogHeading" jhiTranslate="entity.delete.title">Confirme a eliminação</h4>
    </div>

    <div class="modal-body">
      <jhi-alert-error></jhi-alert-error>
      <p
        id="jhi-delete-inputDataUpload-heading"
        jhiTranslate="resilientApp.inputDataUpload.delete.question"
        [translateValues]="{ id: inputDataUpload.id }"
      >
        Tem a certeza que pretende eliminar o(a) Input Data Upload {{ inputDataUpload.id }}?
      </p>
    </div>

    <div class="modal-footer">
      <button type="button" class="btn btn-secondary" data-dismiss="modal" (click)="cancel()">
        <fa-icon icon="ban"></fa-icon>&nbsp;<span jhiTranslate="entity.action.cancel">Cancelar</span>
      </button>

      <button id="jhi-confirm-delete-inputDataUpload" data-cy="entityConfirmDeleteButton" type="submit" class="btn btn-danger">
        <fa-icon icon="times"></fa-icon>&nbsp;<span jhiTranslate="entity.action.delete">Eliminar</span>
      </button>
    </div>
  </form>
}
