3 class="modal-title">Restore Image</ng-container>
5 <ng-container class="modal-content">
6 <form name="restoreForm"
9 [formGroup]="restoreForm"
11 <div class="modal-body">
13 <ng-container i18n>To restore</ng-container>
14 <kbd>{{ poolName }}/{{ imageName }}@{{ imageId }}</kbd>,
15 <ng-container i18n>type the image's new name and click</ng-container>
16 <kbd i18n>Restore Image</kbd>.
19 <div class="form-group"
20 [ngClass]="{'has-error': restoreForm.showError('name', formDir)}">
28 formControlName="name"
30 <span class="help-block"
31 *ngIf="restoreForm.showError('name', formDir, 'required')"
33 This field is required.
38 <div class="modal-footer">
39 <div class="button-group text-right">
40 <cd-submit-button i18n
42 (submitAction)="restore()">
47 class="btn btn-sm btn-default"
48 (click)="modalRef.hide()">Cancel</button>