13 lines
475 B
Text
13 lines
475 B
Text
<form action="/register" method="POST">
|
|
<% if (it.next) { %><input type="hidden" name="next" value="<%= it.next %>"><% } %>
|
|
<input name="username" placeholder="username">
|
|
<input name="password" placeholder="password">
|
|
<button type="submit">
|
|
move in
|
|
</button>
|
|
<% if (it.error) { %>
|
|
<%= it.error %>
|
|
<% } %>
|
|
<br>
|
|
<div> or you can <a href="/login<%= it.next ? '?next=' + encodeURIComponent(it.next) : '' %>">come home</a>.
|
|
</form>
|