change file structure
Reviewed-on: #21 Reviewed-by: Get in my car i have candy <huydw@proton.me>
This commit is contained in:
24
src/app/qualification/edit/edit.component.html
Normal file
24
src/app/qualification/edit/edit.component.html
Normal 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>
|
Reference in New Issue
Block a user