signup.html 688 Bytes
Newer Older
1
2
3
4
5
6
7
{% extends 'layout.html' %}

{% block title %} Sign up: {% endblock %}

{% block content %}

<div class="row">
Vladislav Rykov's avatar
Vladislav Rykov committed
8
	<div class="col-md-6 col-md-offset-3">
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
		<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">Signup</button>
			</div>

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

{% endblock %}