]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | <cd-modal (hide)="cancel()"> |
2 | <ng-container class="modal-title">{{ titleText }}</ng-container> | |
3 | <ng-container class="modal-content"> | |
4 | <form name="confirmationForm" | |
11fdf7f2 TL |
5 | #formDir="ngForm" |
6 | [formGroup]="confirmationForm" | |
7 | novalidate> | |
8 | <div class="modal-body"> | |
9 | <ng-container *ngTemplateOutlet="bodyTpl; context: bodyContext"></ng-container> | |
9f95a23c TL |
10 | <p *ngIf="description"> |
11 | {{description}} | |
12 | </p> | |
11fdf7f2 TL |
13 | </div> |
14 | <div class="modal-footer"> | |
15 | <div class="button-group text-right"> | |
16 | <cd-submit-button [form]="confirmationForm" | |
17 | (submitAction)="onSubmit(confirmationForm.value)"> | |
18 | {{ buttonText }} | |
19 | </cd-submit-button> | |
20 | <cd-back-button [back]="boundCancel" | |
21 | name="Cancel" | |
22 | i18n-name> | |
23 | </cd-back-button> | |
24 | </div> | |
25 | </div> | |
26 | </form> | |
27 | </ng-container> | |
28 | </cd-modal> |