-<cd-modal [modalRef]="modalRef">
- <ng-container class="modal-title"
- i18n>{mode, select, edit {Edit} other {Add}}
- pool mirror peer</ng-container>
+<cd-modal [modalRef]="activeModal">
+ <span class="modal-title"
+ i18n>{mode, select, edit {Edit} other {Add}} pool mirror peer</span>
<ng-container class="modal-content">
<form name="editPeerForm"
novalidate>
<div class="modal-body">
<p>
- <ng-container i18n>{mode, select, edit {Edit} other {Add}} the pool
+ <span i18n>{mode, select, edit {Edit} other {Add}} the pool
mirror peer attributes for pool <kbd>{{ poolName }}</kbd> and click
- <kbd>Submit</kbd>.</ng-container>
+ <kbd>Submit</kbd>.</span>
</p>
<div class="form-group">
</div>
<div class="modal-footer">
- <div class="button-group text-right">
- <cd-submit-button i18n
- [form]="editPeerForm"
- (submitAction)="update()">Submit</cd-submit-button>
- <cd-back-button [back]="modalRef.hide"
- name="Cancel"
- i18n-name>
- </cd-back-button>
- </div>
+ <cd-form-button-panel (submitActionEvent)="update()"
+ [form]="editPeerForm"
+ [submitText]="actionLabels.SUBMIT"></cd-form-button-panel>
</div>
</form>
</ng-container>