aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/login/login.component.html
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-15 18:34:58 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-15 18:34:58 -0400
commitd97d4d430113088c4f52f53c040d8705c66b410e (patch)
tree7738f85333e1511d39b745c49b9ff70c4d8e3a27 /ufund-ui/src/app/components/login/login.component.html
parent51f0322db803ed3baf1f24f18a6e7a83dab58a3b (diff)
downloadJellySolutions-d97d4d430113088c4f52f53c040d8705c66b410e.tar.gz
JellySolutions-d97d4d430113088c4f52f53c040d8705c66b410e.tar.bz2
JellySolutions-d97d4d430113088c4f52f53c040d8705c66b410e.zip
Add support for account creation
Diffstat (limited to '')
-rw-r--r--ufund-ui/src/app/components/login/login.component.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/login/login.component.html b/ufund-ui/src/app/components/login/login.component.html
index bfd7f5e..2cdb6d0 100644
--- a/ufund-ui/src/app/components/login/login.component.html
+++ b/ufund-ui/src/app/components/login/login.component.html
@@ -1,6 +1,7 @@
-<div *ngIf="next" style="color: red">You must be logged in to view this page</div>
+<span *ngIf="next" style="color: red">You must be logged in to view this page</span>
<p>Login:</p>
<input placeholder="Username" type="text" #username>
<input placeholder="Password" type="password" #password>
<button type="button" (click)="login(username.value, password.value)">Login</button>
-<button type="button">Create Account...</button>
+<button type="button" (click)="signup(username.value, password.value)">Create Account</button>
+<span *ngIf="statusText">{{statusText | async}}</span>