blob: 90274b24847fd452adb2c0ea390c6669c76a7298 (
plain) (
tree)
|
|
<div bsModal #confirmModal="bs-modal" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<span class="close" aria-hidden="true" (click)="cancel()"></span>
<h4 class="modal-title">{{ title }}</h4>
</div>
<div class="modal-body" >
<div [innerHtml]="message"></div>
<div *ngIf="inputLabel && expectedInputValue" class="form-group">
<label for="confirmInput">{{ inputLabel }}</label>
<input type="text" id="confirmInput" name="confirmInput" [(ngModel)]="inputValue" />
</div>
<div class="form-group inputs">
<span class="action-button action-button-cancel" (click)="cancel()">
Cancel
</span>
<input
type="submit" value="Confirm" class="action-button-submit" [disabled]="isConfirmationDisabled()"
(click)="confirm()"
>
</div>
</div>
</div>
</div>
</div>
|