27 lines
593 B
HTML
27 lines
593 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
<form action="" method="POST" enctype="multipart/form-data" novalidate>
|
|
{{ form.hidden_tag() }}
|
|
<p>
|
|
{{ form.username.label }}<br>
|
|
{{ form.username() }}
|
|
{% for error in form.username.errors %}
|
|
<br>{{ error }}
|
|
{% endfor %}
|
|
</p>
|
|
<p>
|
|
{{ form.password.label }}<br>
|
|
{{ form.password() }}
|
|
</p>
|
|
<p>
|
|
{{ form.repeatpassword.label }}<br>
|
|
{{ form.repeatpassword() }}
|
|
</p>
|
|
<p>
|
|
{{ form.isAdmin() }}
|
|
{{ form.isAdmin.label }}
|
|
</p>
|
|
<p>{{ form.submit() }}</p>
|
|
</form>
|
|
{% endblock %} |