diff options
Diffstat (limited to 'views/signup.ejs')
-rw-r--r-- | views/signup.ejs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/views/signup.ejs b/views/signup.ejs new file mode 100644 index 0000000..819da3f --- /dev/null +++ b/views/signup.ejs @@ -0,0 +1,18 @@ +<%- include('header', { title: "Signup" }) %> +<% if (user) { %> +<p>You're already logged in! +<% } else { %> +<form action="/signup" method="post"> +<p> +<label for="username">Name: </label><br> +<input type="text" id="username" name="username" required> +<p> +<label for="mail">Mail: </label><br> +<input type="text" id="mail" name="mail" required> +<p> +<label for="password">Password: </label><br> +<input type="password" id="password" name="password" required> +<p> +<button type="submit">Create Account</button> +</form> +<% } %> |