aboutsummaryrefslogtreecommitdiff
path: root/templates/register.rs.html
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-07-19 19:49:39 -0400
committerCara Salter <cara@devcara.com>2022-07-19 19:49:39 -0400
commitc742b752140ab0eee6e353c779bd897042ba6739 (patch)
tree58953fdcaedb7e6c458a29dd980b8f97fb1af2a7 /templates/register.rs.html
parent1bd04149f8f6133b817a37a37a91397750c76c1b (diff)
downloadnccd-c742b752140ab0eee6e353c779bd897042ba6739.tar.gz
nccd-c742b752140ab0eee6e353c779bd897042ba6739.zip
Big login system
Still needs cookies, but those are coming! (and should be set anyways!)
Diffstat (limited to 'templates/register.rs.html')
-rw-r--r--templates/register.rs.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/register.rs.html b/templates/register.rs.html
new file mode 100644
index 0000000..5c2e3f2
--- /dev/null
+++ b/templates/register.rs.html
@@ -0,0 +1,27 @@
+@use super::{header_html, footer_html};
+
+@()
+
+@:header_html()
+<h1>Create your NCCd Account</h1>
+<form method="POST" action="/dash/auth/register">
+ <div>
+ <label for="email">Email</label>
+ <input type="text" id="email" name="email">
+ </div>
+ <div>
+ <label for="prefname">Preferred name</label>
+ <input type="text" id="prefname" name="prefname">
+ </div>
+ <div>
+ <label for="password">Password</label>
+ <input type="password" id="password" name="password">
+ </div>
+ <div>
+ <label for="password-confirm">Confirm password</label>
+ <input type="password" id="password-confirm" name="password-confirm">
+ </div>
+ <input type="submit" class="accent">Submit</input>
+</form>
+Or try <a href="/dash/auth/login">logging in</a>
+@:footer_html()