1 <cd-modal [modalRef]="activeModal"
4 class="modal-title">Edit pool mirror mode</ng-container>
6 <ng-container class="modal-content">
7 <form name="editModeForm"
10 [formGroup]="editModeForm"
12 <div class="modal-body">
14 <ng-container i18n>To edit the mirror mode for pool
15 <kbd>{{ poolName }}</kbd>, select a new mode from the list and click
16 <kbd>Update</kbd>.</ng-container>
19 <div class="form-group">
20 <label class="col-form-label"
22 <span i18n>Mode</span>
24 <select id="mirrorMode"
27 formControlName="mirrorMode">
28 <option *ngFor="let mirrorMode of mirrorModes"
29 [value]="mirrorMode.id">{{ mirrorMode.name }}</option>
31 <span class="invalid-feedback"
32 *ngIf="editModeForm.showError('mirrorMode', formDir, 'cannotDisable')"
33 i18n>Peer clusters must be removed prior to disabling mirror.</span>
37 <div class="modal-footer">
38 <cd-form-button-panel (submitActionEvent)="update()"
40 [submitText]="actionLabels.UPDATE"></cd-form-button-panel>