diff options
Diffstat (limited to 'ufund-ui/src/app/components/need-edit/need-edit.component.html')
-rw-r--r-- | ufund-ui/src/app/components/need-edit/need-edit.component.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/need-edit/need-edit.component.html b/ufund-ui/src/app/components/need-edit/need-edit.component.html index bcb166b..e776415 100644 --- a/ufund-ui/src/app/components/need-edit/need-edit.component.html +++ b/ufund-ui/src/app/components/need-edit/need-edit.component.html @@ -1,9 +1,11 @@ <div id="update-form"> <h1> Update Need </h1> - <label>Needs:</label><br> <form #updateForm="ngForm" (ngSubmit)="update(updateForm.value)"> + <label>Name:</label><br> <input type="text" name="name" [(ngModel)]="selectedNeed.name"><br> + <label>Image:</label><br> <input type="text" name="image" [(ngModel)]="selectedNeed.image"><br> + <label>Location:</label><br> <input type="text" name="location" [(ngModel)]="selectedNeed.location"><br> <label>Max Goal:</label><br> <input type="number" name="maxGoal" [(ngModel)]="selectedNeed.maxGoal"><br> @@ -19,4 +21,4 @@ <input type="submit" value="Submit"> </form> -</div>
\ No newline at end of file +</div> |