akf-forum/src/themes/common/views/register.ejs

32 lines
1 KiB
Text
Raw Normal View History

2022-03-13 16:16:46 +03:00
<!DOCTYPE html>
<html lang="en">
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/meta"), {title: "Register!" }) %>
2022-03-13 16:16:46 +03:00
<body style="text-align: center;">
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/navbar")) %>
<h1 class="title">Register</h1>
2022-03-13 16:16:46 +03:00
2022-09-17 19:33:51 +03:00
<form class="login" action="/register" method="post">
<input type="email" name="email" placeholder="Email" class="input" required>
<input type="text" name="name" placeholder="Username" class="input" required>
2022-09-17 20:25:19 +03:00
<input type="password" name="password" placeholder="Password" class="input" required>
<textarea class="input" name="about" rows="4" placeholder="About you... You can use markdown"></textarea>
<input type="submit" class="btn-primary" style="width:100%;" value="Register">
</form>
<% if(discord) { %>
<a href="<%=discord%>" class="btn-outline-primary">Auth with discord</a>
<% } %>
<a href="/login" class="btn-outline-primary">Login</a>
2022-03-13 16:16:46 +03:00
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/footer")) %>
2022-03-13 16:16:46 +03:00
</body>
</html>