You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
11 months ago
|
{% extends "base.html" %}
|
||
|
{% block main %}
|
||
|
<div id="login">
|
||
|
<form class="form" action="{{ url_for('register') }}" method="post">
|
||
|
{{ registerform.csrf_token }}
|
||
|
<fieldset class="required">
|
||
|
{{ registerform.username.label }}
|
||
|
{{ registerform.username }}
|
||
|
{% for message in registerform.username.errors %}
|
||
|
<div class="error">{{ message }}</div>
|
||
|
{% endfor %}
|
||
|
</fieldset>
|
||
|
<fieldset class="required">
|
||
|
{{ registerform.email.label }}
|
||
|
{{ registerform.email }}
|
||
|
{% for message in registerform.email.errors %}
|
||
|
<div class="error">{{ message }}</div>
|
||
|
{% endfor %}
|
||
|
</fieldset>
|
||
|
<fieldset class="required">
|
||
|
{{ registerform.password.label }}
|
||
|
{{ registerform.password }}
|
||
|
{% for message in registerform.password.errors %}
|
||
|
<div class="error">{{ message }}</div>
|
||
|
{% endfor %}
|
||
|
</fieldset>
|
||
|
<fieldset class="required">
|
||
|
{{ registerform.confirmpassword.label }}
|
||
|
{{ registerform.confirmpassword }}
|
||
|
{% for message in registerform.confirmpassword.errors %}
|
||
|
<div class="error">{{ message }}</div>
|
||
|
{% endfor %}
|
||
|
</fieldset>
|
||
|
<fieldset class="button required">
|
||
|
{{ registerform.submit }}
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</div>
|
||
|
{% endblock main %}
|