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.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html
index b87540e..b767439 100644
--- a/ufund-ui/src/app/components/cupboard/cupboard.component.html
+++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html
@@ -1,4 +1,8 @@
<h1> Cupboard </h1>
+<div id="create-button">
+ <button (click)="open()">Create new Need</button>
+</div>
+
<div id="create-form">
<h1> Create a new need </h1>
<form #cupboardForm="ngForm" (ngSubmit)="submit(cupboardForm.value)">
@@ -14,8 +18,8 @@
<input type="radio" name="type" value="PHYSICAL" ngModel>
<label>Physical</label><br>
<input type="submit" value="Submit">
+ <button (click)="close()">Close</button>
</form>
</div>
-
-
+<hr>
<app-need-list></app-need-list>