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