Add lots of things
This commit is contained in:
18
drill-and-practice/views/login.eta
Normal file
18
drill-and-practice/views/login.eta
Normal file
@@ -0,0 +1,18 @@
|
||||
<% layout("./layouts/layout.eta") %>
|
||||
|
||||
<h1>Login</h1>
|
||||
|
||||
<form method="POST" action="/auth/login">
|
||||
Email:<br/>
|
||||
<input type="email" name="email" /><br/>
|
||||
Password:<br/>
|
||||
<input type="password" name="password" /><br/>
|
||||
<input type="submit" value="Login" />
|
||||
</form>
|
||||
|
||||
<% if(it.error){ %>
|
||||
<b><%= it.error %></b>
|
||||
<br/>
|
||||
<% } %>
|
||||
|
||||
<a href="/auth/register">Are you a new user?</a>
|
||||
Reference in New Issue
Block a user