Files
SkydiveLogs/Front/skydivelogs-app/src/app/gear-infos/gear-infos.component.html
T

111 lines
2.7 KiB
HTML

<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>