<form appFormSubmit (ngSubmit)="objectController.actionCallback(primaryAction)"
      [formGroup]="projectForm" layoutDirection="column" class="fl-content">
  <app-form-errors #formErrors [formGroup]="projectForm"></app-form-errors>
  <mat-form-field>
    <mat-label i18n>Name</mat-label>
    <input matInput placeholder="Name" i18n-placeholder type="text" formControlName="name" required>
    <mat-error>{{fieldErrors['name']}}</mat-error>
  </mat-form-field>
  <mat-form-field>
    <mat-label i18n>Description</mat-label>
    <input matInput placeholder="Description" i18n-placeholder type="text" formControlName="description" required>
    <mat-error>{{fieldErrors['description']}}</mat-error>
  </mat-form-field>
  <mat-checkbox color="primary" formControlName="disabled" i18n>
    Project disabled
  </mat-checkbox>
</form>
