]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/blob
bea4eb533b233b982d53c9a87a4e2b87af223e51
[ceph-ci.git] /
1 <cd-modal (hide)="cancel()">
2   <ng-container class="modal-title">{{ titleText }}</ng-container>
3   <ng-container class="modal-content">
4     <form name="confirmationForm"
5           #formDir="ngForm"
6           [formGroup]="confirmationForm"
7           novalidate>
8       <div class="modal-body">
9         <ng-container *ngTemplateOutlet="bodyTpl; context: bodyContext"></ng-container>
10         <p *ngIf="description">
11           {{description}}
12         </p>
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>