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