{% extends "base/base.html" %}

{% block title %}
<h1>Vandaliser un compte</h1>
{% endblock %}

{% block content %}
<section class="form">
    <form action="" method="post">
        {{ form.hidden_tag() }}
        <p>
            {{ form.username.label }}<br>
            {{ form.username(size=32) }}<br>
            {% for error in form.username.errors %}
            <span style="color: red;">[{{ error }}]</span>
            {% endfor %}
        </p>
        <p>{{ form.submit(class_="bg-ok") }}</p>
    </form>
</section>
{% endblock %}
