aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/cupboard/cupboard.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.html')
-rw-r--r--ufund-ui/src/app/components/cupboard/cupboard.component.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html
index d54eed9..bc5ac1c 100644
--- a/ufund-ui/src/app/components/cupboard/cupboard.component.html
+++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html
@@ -13,6 +13,8 @@
<form #cupboardForm="ngForm" (ngSubmit)="submit(cupboardForm.value)">
<label>Name:</label><br>
<input type="text" name="name" ngModel><br>
+ <label>Location:</label><br>
+ <input type="text" name="location" ngModel><br>
<label>Max Goal:</label><br>
<input type="number" name="maxGoal" ngModel><br>
<label>Type</label><br>
@@ -20,7 +22,10 @@
<label>Monetary</label><br>
<input type="radio" name="type" value="PHYSICAL" ngModel>
<label>Physical</label><br>
+ <input type="checkbox" name="urgent" value="false" ngModel>
+ <label>Urgent</label><br>
<input type="submit" value="Submit">
+
</form>
<span *ngIf="statusText">{{statusText | async}}</span>
@@ -30,6 +35,7 @@
<label>Needs:</label><br>
<form #updateForm="ngForm" (ngSubmit)="update(updateForm.value)">
<input type="text" name="name" [(ngModel)]="selectedNeed.name"><br>
+ <input type="text" name="location" [(ngModel)]="selectedNeed.location"><br>
<label>Max Goal:</label><br>
<input type="number" name="maxGoal" [(ngModel)]="selectedNeed.maxGoal"><br>
<label>Type</label><br>
@@ -37,7 +43,10 @@
<label>Monetary</label><br>
<input type="radio" name="type" value="PHYSICAL" [(ngModel)]="selectedNeed.type">
<label>Physical</label><br>
+ <input type="checkbox" name="urgent" [(ngModel)]="selectedNeed.urgent">
+ <label>Urgent</label> <br>
<input type="submit" value="Submit">
+
</form>
<span *ngIf="statusText">{{statusText | async}}</span>