2015-10-13 00:30:55 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<div class="well col-sm-6 col-sm-offset-2">
|
|
|
|
<h2 style="margin-top: 0">Register a new account</h2>
|
|
|
|
<form method="POST" role="form">
|
2015-10-13 16:07:17 +00:00
|
|
|
<div class="form-group required">
|
2015-10-13 00:30:55 +00:00
|
|
|
<label for="nickname">Username</label>
|
2015-10-13 16:07:17 +00:00
|
|
|
<input type="text" class="form-control" id="nickname" name="nickname" placeholder="Choose a username" required>
|
2015-10-13 00:30:55 +00:00
|
|
|
</div>
|
2015-10-13 16:07:17 +00:00
|
|
|
<div class="form-group required">
|
2015-10-13 00:30:55 +00:00
|
|
|
<label for="password">Password</label>
|
2015-10-13 16:07:17 +00:00
|
|
|
<input type="password" class="form-control" id="password" name="password" placeholder="Choose a password" required>
|
2015-10-13 00:30:55 +00:00
|
|
|
</div>
|
2015-10-13 16:07:17 +00:00
|
|
|
<div class="form-group required">
|
2015-10-13 00:30:55 +00:00
|
|
|
<label for="email">Email address</label>
|
2015-10-13 16:07:17 +00:00
|
|
|
<input type="email" class="form-control" id="email" name="email" placeholder="Your email address" required>
|
2015-10-13 00:30:55 +00:00
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary">Register</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% if error %}
|
|
|
|
<div class="col-sm-6 col-sm-offset-2">
|
|
|
|
<div class="alert alert-danger">{{error}}</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|