35 lines
No EOL
1.9 KiB
Text
35 lines
No EOL
1.9 KiB
Text
<%- include("../base/header", { title: "Register", session }) %>
|
|
|
|
<div class="d-flex justify-content-center">
|
|
<div class="card my-auto" style="width: 25rem;">
|
|
<div class="card-body">
|
|
<h4 class="card-title text-center">EUS Registration</h5>
|
|
<% if (typeof(message) === "string") { %>
|
|
<div class="alert alert-danger text-center" role="alert"><%= message %></div>
|
|
<% } %>
|
|
<form action="/account/register" method="POST">
|
|
<input type="hidden" name="returnTo" value="<%= typeof(returnTo) === "undefined" ? "" : returnTo %>" >
|
|
<div class="input-group mt-3 mb-2">
|
|
<span class="input-group-text"><i class="bi bi-key-fill"></i></span>
|
|
<input class="form-control" name="registerKey" placeholder="Registration Key" value="<%= typeof(registerKey) === "undefined" ? "" : registerKey %>" required autocomplete="new-password" />
|
|
</div>
|
|
<hr>
|
|
<input class="form-control mt-3 mb-2" name="username" placeholder="Username" value="<%= typeof(username) === "undefined" ? "" : username %>" required autocomplete="new-password" />
|
|
<input class="form-control mt-3 mb-2" name="email" type="email" placeholder="Email Address" value="<%= typeof(email) === "undefined" ? "" : email %>" required autocomplete="new-password" />
|
|
<hr>
|
|
<input class="form-control mb-3" name="password" type="password" placeholder="Password" required autocomplete="new-password" />
|
|
<input class="form-control mb-3" name="password2" type="password" placeholder="Confirm Password" required autocomplete="new-password" />
|
|
<div class="row">
|
|
<div class="col d-flex justify-content-center">
|
|
<a class="align-self-center" href="/account/login">I have an account!</a>
|
|
</div>
|
|
<div class="col-auto me-3">
|
|
<input class="btn btn-primary mx-auto d-block" type="submit" value="Register" />
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%- include("../base/footer") %> |