Add connected user when updating gear

This commit is contained in:
2026-05-05 23:15:13 +02:00
parent dcd9ae355c
commit 76ef368700
10 changed files with 1897 additions and 1944 deletions
@@ -0,0 +1,110 @@
<form (ngSubmit)="updateGear()">
<p>
<mat-form-field>
<input
type="text"
matInput
placeholder="Name"
name="name"
[(ngModel)]="gear.name"
name="name"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<input
type="text"
matInput
placeholder="Manufacturer"
name="manufacturer"
[(ngModel)]="gear.manufacturer"
name="manufacturer"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<input
type="text"
matInput
placeholder="minSize"
name="minSize"
[(ngModel)]="gear.minSize"
name="minSize"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<input
type="text"
matInput
placeholder="maxSize"
name="maxSize"
[(ngModel)]="gear.maxSize"
name="maxSize"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<input
type="text"
matInput
placeholder="aad"
name="aad"
[(ngModel)]="gear.aad"
name="aad"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<input
type="text"
matInput
placeholder="mainCanopy"
name="mainCanopy"
[(ngModel)]="gear.mainCanopy"
name="mainCanopy"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<input
type="text"
matInput
placeholder="reserveCanopy"
name="reserveCanopy"
[(ngModel)]="gear.reserveCanopy"
name="reserveCanopy"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<input
type="text"
matInput
placeholder="equipment"
name="equipment"
[(ngModel)]="gear.equipment"
name="equipment"
type="text"
/>
</mat-form-field>
</p>
<br />
@if (editMode) {
<button mat-raised-button color="accent">Update</button>
}
</form>