change file structure

Reviewed-on: #21
Reviewed-by: Get in my car i have candy <huydw@proton.me>
This commit is contained in:
2025-01-09 09:13:06 +00:00
parent ae7146d28f
commit 839f9f7752
20 changed files with 33 additions and 33 deletions

View File

@ -0,0 +1,24 @@
<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>