-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
28 lines (27 loc) · 1.09 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "nav.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block login %}
<link rel="stylesheet" href="../static/styles.css">
<center><div class="login-bg">
<form method="POST" action="/login">
<h2>Login</h2>
<!-- IMPORTANT - GENERATES CSRF TOKEN -->
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<div>
<label for="username">Username</label>
<input id="username" name="username" required type="text" placeholder="Enter username" value="">
</div>
<div>
<label for="password">Password</label>
<input id="password" name="password" required type="password" placeholder="Enter password" value="">
</div>
<label>
<p>Remember me</p>
<input id="remember" name="remember" type="checkbox" checked="checked" value="y">
<span class="checkmark"></span>
</label>
<p>Not Registered?<a href="signup"> Create an account.</a></p>
<center><button type="submit">Login</button></center>
</form>
</div></center>
{% endblock %}