<div *ngIf="!!folderForm && !!object" layoutDirection="column" class="fl-content fl-content-min-height">
  <p i18n>Creating into: {{path ? path : '/'}}</p>
  <form appFormSubmit (ngSubmit)="objectController.actionCallback(primaryAction)"
        [formGroup]="folderForm" layoutDirection="column">
    <!--suppress JSUnusedGlobalSymbols -->
    <app-form-errors #formErrors [formGroup]="folderForm"></app-form-errors>
    <mat-form-field>
      <mat-label i18n>Folder name</mat-label>
      <input matInput placeholder="Folder name" i18n-placeholder
             type="text" formControlName="name" [maxLength]="maxObjectNameLength"
             required>
      <mat-error>{{fieldErrors['name']}}</mat-error>
    </mat-form-field>
  </form>
</div>
