2019-07-04 13:17:51 +00:00
|
|
|
{% extends "base.html.j2" %}
|
|
|
|
|
|
|
|
{% block page_content %}
|
|
|
|
<div class="col s12">
|
2019-07-09 12:13:56 +00:00
|
|
|
<div class="card">
|
|
|
|
<form method="POST">
|
|
|
|
<div class="card-content">
|
|
|
|
<span class="card-title">Register</span>
|
2019-07-08 12:06:35 +00:00
|
|
|
{{ form.hidden_tag() }}
|
|
|
|
<div class="input-field">
|
|
|
|
<i class="material-icons prefix">account_circle</i>
|
|
|
|
{{ form.username(class='validate') }}
|
|
|
|
{{ form.username.label }}
|
|
|
|
{% for error in form.username.errors %}
|
|
|
|
<span class="helper-text" style="color:red;">{{ error }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<div class="input-field">
|
|
|
|
<i class="material-icons prefix">vpn_key</i>
|
|
|
|
{{ form.password(class='validate') }}
|
|
|
|
{{ form.password.label }}
|
|
|
|
{% for error in form.password.errors %}
|
|
|
|
<span class="helper-text" style="color:red;">{{ error }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<div class="input-field">
|
|
|
|
<i class="material-icons prefix">vpn_key</i>
|
|
|
|
{{ form.password2(class='validate') }}
|
|
|
|
{{ form.password2.label }}
|
|
|
|
{% for error in form.password2.errors %}
|
|
|
|
<span class="helper-text" style="color:red;">{{ error }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<div class="input-field ">
|
|
|
|
<i class="material-icons prefix">email</i>
|
|
|
|
{{ form.email(class='validate', type='email') }}
|
|
|
|
{{ form.email.label }}
|
|
|
|
{% for error in form.email.errors %}
|
|
|
|
<span class="helper-text" style="color:red;">{{ error }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2019-07-09 12:13:56 +00:00
|
|
|
</div>
|
|
|
|
<div class="card-action right-align">
|
|
|
|
{{ form.submit(class='btn') }}
|
|
|
|
</div>
|
|
|
|
</form>
|
2019-07-04 13:17:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|