]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
271235faed89dcbc46579316a452ff3cdcf6e4c4
[ceph.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           class="form-horizontal"
6           #formDir="ngForm"
7           [formGroup]="confirmationForm"
8           novalidate>
9       <div class="modal-body">
10         <ng-container *ngTemplateOutlet="bodyTpl; context: bodyContext"></ng-container>
11       </div>
12       <div class="modal-footer">
13         <div class="button-group text-right">
14           <cd-submit-button [form]="confirmationForm"
15                             (submitAction)="onSubmit(confirmationForm.value)">
16             {{ buttonText }}
17           </cd-submit-button>
18           <button i18n
19                   type="button"
20                   class="btn btn-sm btn-default"
21                   (click)="cancel()">Cancel</button>
22         </div>
23       </div>
24     </form>
25   </ng-container>
26 </cd-modal>