
Co-authored-by: Phan Huy Tran <p.tran@neusta.de> Reviewed-on: #20 Reviewed-by: Constantin Simonis <constantin@simonis.lol>
25 lines
737 B
HTML
25 lines
737 B
HTML
<h2 mat-dialog-title>Edit Qualification</h2>
|
|
<mat-dialog-content>
|
|
<form [formGroup]="qualificationForm" (ngSubmit)="edit()">
|
|
<div class="!space-y-4">
|
|
@if (apiErrorMessage) {
|
|
<mat-error>{{ apiErrorMessage }}</mat-error>
|
|
}
|
|
|
|
<mat-form-field class="!w-full">
|
|
<mat-label>Skill</mat-label>
|
|
<input matInput
|
|
formControlName="skill"
|
|
required>
|
|
<mat-error *ngIf="isFieldInvalid('skill')">
|
|
{{ getErrorMessage('skill') }}
|
|
</mat-error>
|
|
</mat-form-field>
|
|
|
|
<mat-dialog-actions align="end">
|
|
<button mat-flat-button color="primary" type="submit">Edit</button>
|
|
</mat-dialog-actions>
|
|
</div>
|
|
</form>
|
|
</mat-dialog-content>
|