summaryrefslogtreecommitdiffstats
path: root/templates/signup.rs.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-12-11 06:02:00 +0000
committerLibravatar cel 🌸 <cel@blos.sm>2023-12-11 06:02:00 +0000
commit2407c1a4a55d17817b31f7ca5cac9d68b27f536c (patch)
treefc91c3c3ebde6e5124ff9c1830eac2fcbff68c1f /templates/signup.rs.html
parent85874ab158e1f91fd75aceb70a4c14d36284ec13 (diff)
downloadpinussy-2407c1a4a55d17817b31f7ca5cac9d68b27f536c.tar.gz
pinussy-2407c1a4a55d17817b31f7ca5cac9d68b27f536c.tar.bz2
pinussy-2407c1a4a55d17817b31f7ca5cac9d68b27f536c.zip
implement signup
Diffstat (limited to 'templates/signup.rs.html')
-rw-r--r--templates/signup.rs.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/signup.rs.html b/templates/signup.rs.html
index 354dae6..a482fc2 100644
--- a/templates/signup.rs.html
+++ b/templates/signup.rs.html
@@ -1,8 +1,9 @@
@use super::base_html;
+@use crate::Notification;
-@()
+@(notification: Option<Notification>)
-@:base_html(false, {
+@:base_html(false, notification, {
<form action="/signup" method="post">
<label for="username">username:</label>
<input type="text" id="username" name="username" required="true" />
@@ -10,4 +11,4 @@
<input type="text" id="password" name="password" required="true" />
<button type="submit">sign up</button>
</form>
-}) \ No newline at end of file
+})