create angefangen
This commit is contained in:
28
client/src/app/modules/keys/create/create.component.html
Normal file
28
client/src/app/modules/keys/create/create.component.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<h2 mat-dialog-title>Schlüssel anlegen</h2>
|
||||
<mat-dialog-content>
|
||||
<form [formGroup]="createForm" >
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>Name</mat-label>
|
||||
<input type="text" matInput formControlName="name">
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>Schlüsselnummer</mat-label>
|
||||
<input type="text" matInput formControlName="nr">
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>Schließzylinder</mat-label>
|
||||
<mat-select formControlName="cylinder">
|
||||
@for (item of cylinders; track $index) {
|
||||
<mat-option [value]="item">{{ item.name }}</mat-option>
|
||||
}
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</form>
|
||||
</mat-dialog-content>
|
||||
<mat-dialog-actions>
|
||||
<button mat-button mat-dialog-close >Abbrechen</button>
|
||||
<button mat-button (click)="save()" [disabled]="createForm.disabled">Speichern</button>
|
||||
</mat-dialog-actions>
|
||||
Reference in New Issue
Block a user