1 <cd-modal [modalRef]=
"modalRef">
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>{{ imageSpec }}@{{ 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 <label class=
"col-form-label"
28 formControlName=
"name"
30 <span class=
"invalid-feedback"
31 *
ngIf=
"restoreForm.showError('name', formDir, 'required')"
32 i18n
>This field is required.
</span>
36 <div class=
"modal-footer">
37 <div class=
"button-group text-right">
38 <cd-submit-button [form]=
"restoreForm"
39 (submitAction)=
"restore()"
40 i18n
>Restore Image
</cd-submit-button>
41 <cd-back-button [back]=
"modalRef.hide"