blob: 819da3f7f4caf834158fc446b870774b51c39231 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>
<% } %>
|