hmm
This commit is contained in:
parent
f370a2fe68
commit
e335c65506
21 changed files with 33471 additions and 86 deletions
12
views/auth/login.eta
Normal file
12
views/auth/login.eta
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<form action="/login" method="POST">
|
||||
<input name="username" placeholder="username">
|
||||
<input name="password" placeholder="password">
|
||||
<button type="submit">
|
||||
come home
|
||||
</button>
|
||||
<% if (error) { %>
|
||||
<%= error %>
|
||||
<% } %>
|
||||
<br>
|
||||
<div> or you can <a href="/register">move in here</a>.
|
||||
</form>
|
||||
10
views/auth/register.eta
Normal file
10
views/auth/register.eta
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<form action="/register" method="POST">
|
||||
<input name="username" placeholder="username">
|
||||
<input name="password" placeholder="password">
|
||||
<button type="submit">
|
||||
move in
|
||||
</button>
|
||||
<% if (error) { %>
|
||||
<%= error %>
|
||||
<% } %>
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue