<app-common-dialog [dialogContent]="dialogContent" [dialogRef]="dialogRef">
  <ng-template #dialogContent>
    <form appFormSubmit (ngSubmit)="extendVolume()" [formGroup]="extendForm">
      <app-form-errors #formErrors [formGroup]="extendForm"></app-form-errors>
      <mat-form-field class="full-width">
        <mat-label i18n>Size</mat-label>
        <input matInput placeholder="Size" i18n-placeholder type="number" formControlName="size" required>
        <mat-error>{{ extendForm.controls.size.errors | errorFormatter }}</mat-error>
      </mat-form-field>
    </form>
  </ng-template>
</app-common-dialog>
