24 lines
773 B
HTML
24 lines
773 B
HTML
<form [formGroup]="addForm" (ngSubmit)="onSubmit(addForm.value)">
|
|
<div>
|
|
<label for="dzName">Dropzone name</label>
|
|
<input id="dzName" type="text" formControlName="dzName">
|
|
</div>
|
|
<div>
|
|
<label for="gps">GPS</label>
|
|
<input id="gps" type="text" formControlName="gps">
|
|
</div>
|
|
<div>
|
|
<label for="address">Address</label>
|
|
<textarea id="address" formControlName="address" placeholder="Address of the DZ"></textarea>
|
|
</div>
|
|
<div>
|
|
<label for="contactMail">Mail of contact</label>
|
|
<input id="contactMail" type="email" formControlName="contactMail">
|
|
</div>
|
|
<div>
|
|
<label for="type">DZ or/and tunnel</label>
|
|
<input id="type" type="text" formControlName="type">
|
|
</div>
|
|
<button class="button" type="submit">Add</button>
|
|
</form>
|