starting users
This commit is contained in:
12
views/user/login.etlua
Normal file
12
views/user/login.etlua
Normal file
@ -0,0 +1,12 @@
|
||||
<h1>Log In</h1>
|
||||
|
||||
<% if err then %>
|
||||
<h2><%= err %></h2>
|
||||
<% end %>
|
||||
<form method="post" action="<%= url_for('user_login') %>" enctype="multipart/form-data">
|
||||
<label for="username">Username</label><br>
|
||||
<input type="text" id="username" name="username" required autocomplete="username"><br>
|
||||
<label for="password">Password</label><br>
|
||||
<input type="password" id="password" name="password" required autocomplete="current-password"><br>
|
||||
<input type="submit" value="Log in">
|
||||
</form>
|
Reference in New Issue
Block a user