1 <div class="modal-header">
2 <h4 class="modal-title float-left"
3 i18n="form title|Example: Create rbdSnapshot@@formTitle">{{ action | titlecase }} {{ resource | upperFirst }}</h4>
5 class="close float-right"
7 (click)="modalRef.hide()">
8 <span aria-hidden="true">×</span>
11 <form name="snapshotForm"
13 [formGroup]="snapshotForm"
15 <div class="modal-body">
18 <div class="form-group row">
19 <label class="cd-col-form-label"
21 <ng-container i18n>Name</ng-container>
22 <span class="required"></span>
24 <div class="cd-col-form-input">
25 <input class="form-control"
27 placeholder="Snapshot name..."
30 formControlName="snapshotName"
32 <span class="invalid-feedback"
33 *ngIf="snapshotForm.showError('snapshotName', formDir, 'required')"
34 i18n>This field is required.</span>
40 <div class="modal-footer">
41 <div class="button-group text-right">
42 <cd-submit-button [form]="snapshotForm"
43 (submitAction)="submit()"
44 i18n="form action button|Example: Create rbdSnapshot@@formActionButton">{{ action | titlecase }} {{ resource | upperFirst }}</cd-submit-button>
45 <cd-back-button [back]="modalRef.hide"