aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/cupboard/cupboard.component.html
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-17 23:04:57 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-17 23:04:57 -0400
commit275a6062007380389b7a8f1b8958e8033b4f0925 (patch)
treeea82680547ec109627f6ff91c6015128e4e3f19b /ufund-ui/src/app/components/cupboard/cupboard.component.html
parent2b847078b7af4ade35461b8af52352bc88994be3 (diff)
downloadJellySolutions-275a6062007380389b7a8f1b8958e8033b4f0925.tar.gz
JellySolutions-275a6062007380389b7a8f1b8958e8033b4f0925.tar.bz2
JellySolutions-275a6062007380389b7a8f1b8958e8033b4f0925.zip
Auto refresh needs on change
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.html')
-rw-r--r--ufund-ui/src/app/components/cupboard/cupboard.component.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html
index 76fdf0a..172360d 100644
--- a/ufund-ui/src/app/components/cupboard/cupboard.component.html
+++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html
@@ -16,18 +16,18 @@
<label>Monetary</label><br>
<input type="radio" name="type" value="PHYSICAL" ngModel>
<label>Physical</label><br>
- <input type="submit" value="Submit">
+ <input type="submit" value="Submit">
</form>
<button (click)="back()">Close</button>
<span *ngIf="statusText">{{statusText | async}}</span>
-
+
</div>
<div id="update-form">
<h1> Update a need </h1>
<label>Needs:</label><br>
<form #updateForm="ngForm" (ngSubmit)="update(updateForm.value)">
<div *ngFor="let need of needs">
-
+
<input type="radio" name="id" [value]=need.id [(ngModel)]="selectedNeedId" (change)="populateForm(need)">
<label name="template">{{need.name}}</label><br>
</div>
@@ -40,11 +40,11 @@
<label>Monetary</label><br>
<input type="radio" name="type" value="PHYSICAL" [(ngModel)]="selectedNeed.type">
<label>Physical</label><br>
- <input type="submit" value="Submit">
+ <input type="submit" value="Submit">
</form>
<button (click)="back()">Close</button>
<span *ngIf="statusText">{{statusText | async}}</span>
-
+
</div>
<hr>
-<app-need-list></app-need-list> \ No newline at end of file
+<app-need-list #needList></app-need-list>