<cre-entity-edit
  *ngIf="materialType"
  title="Modifier le group {{materialType.name}}"
  deleteConfirmMessage="Voulez-vous vraiment supprimer le type de produit {{materialType.name}}?"
  backButtonLink="/catalog/materialtype/list"
  deletePermission="REMOVE_MATERIAL_TYPE"
  [entity]="materialType"
  [formFields]="formFields"
  [unknownError]="unknownError"
  [customError]="errorMessage"
  (submit)="submit($event)"
  (delete)="delete()">
</cre-entity-edit>
