2013-10-02 04:50:48 +03:00
|
|
|
{% extends 'layout.html' %}
|
|
|
|
{% block body %}
|
|
|
|
|
2014-08-20 18:28:25 +03:00
|
|
|
<form role="form" method="post" action="{{ url_for('auth.register') }}" data-parsley-validate>
|
2013-10-02 04:50:48 +03:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="username">Username</label>
|
2014-08-20 18:28:25 +03:00
|
|
|
<input id="username" type="text" class="form-control" name="username" placeholder="Username" required data-parsley-type="alphanum" />
|
2013-10-02 04:50:48 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">Email</label>
|
2014-08-20 18:28:25 +03:00
|
|
|
<input id="email" type="email" class="form-control" name="email" placeholder="Email" required />
|
2013-10-02 04:50:48 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">Password</label>
|
2014-08-20 18:28:25 +03:00
|
|
|
<input type="password" name="password" id="password" class="form-control" placeholder="Password" required min="6"/>
|
2013-10-02 04:50:48 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2014-08-20 18:28:25 +03:00
|
|
|
<label for="password_again">Confirm Password</label>
|
|
|
|
<input type="password" name="password_again" id="password_again" class="form-control" placeholder="Password" required min="6"/>
|
2013-10-02 04:50:48 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2014-08-20 18:28:25 +03:00
|
|
|
<input type="submit" class="btn btn-primary" value="Register" />
|
|
|
|
</form>
|
2013-10-03 17:58:07 +03:00
|
|
|
|
2013-10-02 04:50:48 +03:00
|
|
|
{% endblock %}
|