aboutsummaryrefslogtreecommitdiff
path: root/templates/register.rs.html
diff options
context:
space:
mode:
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()