<h2 mat-dialog-title>{{ operativeSystemId ? 'Editar' : 'Crear' }} sistema operativo</h2>
<mat-dialog-content class="form-container">
  <form [formGroup]="formGroup" (ngSubmit)="onSubmit()" class="command-form">
    <mat-form-field appearance="fill" class="full-width">
      <mat-label>Nombre</mat-label>
      <input matInput formControlName="name" placeholder="Nombre del software" required>
    </mat-form-field>
  </form>
</mat-dialog-content>

<mat-dialog-actions class="action-container">
  <button class="ordinary-button" (click)="onCancel($event)">Cancelar</button>
  <button class="submit-button" (click)="onSubmit()" cdkFocusInitial> Guardar </button>
</mat-dialog-actions>