login.html 684 Bytes
Newer Older
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
29
30
{% extends 'layout.html' %}

{% block title %} Login: {% endblock %}

{% block content %}

<div class="row">
	<div class="col-md-6 col-md-offset3">
		<form action="signup" method="post">
			<div class="form-group">
				<label>Username:</label><br>
				<input type="text" id="username" name="username"><br>
			</div>
			<div class="form-group">
				<label>Password:</label><br>
				<input type="password" id="password" name="password">
			</div>
			<div class="form-group">
				<button type="submit" class="btn btn-primary">Login</button>
			</div>

			{% if feedback %}
			<p class="text-danger float-right">{{ feedback }}</p>
			{% endif %}
		</form>
	</div>
</div>

{% endblock %}