1 <cd-modal [modalRef]="activeModal">
2 <ng-container i18n="form title"
3 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
5 <ng-container class="modal-content">
6 <form name="snapshotForm"
8 [formGroup]="snapshotForm"
10 <div class="modal-body">
12 <div class="form-group row">
13 <label class="cd-col-form-label required"
16 <div class="cd-col-form-input">
17 <input class="form-control"
19 placeholder="Snapshot name..."
22 formControlName="snapshotName"
24 <span class="invalid-feedback"
25 *ngIf="snapshotForm.showError('snapshotName', formDir, 'required')"
26 i18n>This field is required.</span>
31 <div class="modal-footer">
32 <cd-form-button-panel (submitActionEvent)="submit()"
34 [submitText]="(action | titlecase) + ' ' + (resource | upperFirst)"></cd-form-button-panel>