user-profile-delete-dialog.component.html 1.1KB

1234567891011121314151617181920
  1. <form name="deleteForm" (ngSubmit)="confirmDelete(userProfile.id)">
  2. <div class="modal-header">
  3. <h4 class="modal-title" jhiTranslate="entity.delete.title">Confirm delete operation</h4>
  4. <button type="button" class="close" data-dismiss="modal" aria-hidden="true"
  5. (click)="clear()">&times;</button>
  6. </div>
  7. <div class="modal-body">
  8. <jhi-alert-error></jhi-alert-error>
  9. <p id="jhi-delete-userProfile-heading" jhiTranslate="zipConnectApp.userProfile.delete.question" translateValues="{id: '{{userProfile.id}}'}">Are you sure you want to delete this User Profile?</p>
  10. </div>
  11. <div class="modal-footer">
  12. <button type="button" class="btn btn-secondary" data-dismiss="modal" (click)="clear()">
  13. <fa-icon [icon]="'ban'"></fa-icon>&nbsp;<span jhiTranslate="entity.action.cancel">Cancel</span>
  14. </button>
  15. <button id="jhi-confirm-delete-userProfile" type="submit" class="btn btn-danger">
  16. <fa-icon [icon]="'times'"></fa-icon>&nbsp;<span jhiTranslate="entity.action.delete">Delete</span>
  17. </button>
  18. </div>
  19. </form>