epasmed/src/main/webapp/app/entities/leaves/leaves-delete-dialog.compon...

24 lines
827 B
HTML
Executable File

<form *ngIf="leaves" name="deleteForm" (ngSubmit)="confirmDelete(leaves?.id!)">
<div class="modal-header">
<h4 class="modal-title">Confirm delete operation</h4>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" (click)="cancel()">&times;</button>
</div>
<div class="modal-body">
<jhi-alert-error></jhi-alert-error>
<p>Are you sure you want to delete this Leave?</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>Cancel</span>
</button>
<button type="submit" class="btn btn-danger">
<fa-icon icon="times"></fa-icon>&nbsp;<span>Delete</span>
</button>
</div>
</form>