Évolution des formulaires d'ajout
This commit is contained in:
@@ -1 +1,23 @@
|
||||
<p>new-drop-zone works!</p>
|
||||
<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" type="text" formControlName="address" placeholder="Address of the DZ">
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user