diff options
author | benal01 <bja4245@rit.edu> | 2025-03-04 10:29:40 -0500 |
---|---|---|
committer | benal01 <bja4245@rit.edu> | 2025-03-04 10:29:40 -0500 |
commit | bedb5fd032d645130ce804e1a36a356cf39ee9f0 (patch) | |
tree | 6e6c8e1c610838db90d6ab25488617e930bba52c /ufund-ui/src/app/components/cupboard/cupboard.component.html | |
parent | a1343c65e30f7f3fe13a2c336f37dfa1bb1bbcc3 (diff) | |
download | JellySolutions-bedb5fd032d645130ce804e1a36a356cf39ee9f0.tar.gz JellySolutions-bedb5fd032d645130ce804e1a36a356cf39ee9f0.tar.bz2 JellySolutions-bedb5fd032d645130ce804e1a36a356cf39ee9f0.zip |
opening and closing functionality to expand the form for data entry
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.html')
-rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.html | 8 |
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> |