{% extends 'flask_user/_authorized_base.html' %}

{% block content %}
{% from "flask_user/_macros.html" import render_field, render_submit_field %}
<h1>{%trans%}Change username{%endtrans%}</h1>

<form action="" method="POST" class="form" role="form">
    {{ form.hidden_tag() }}
    {{ render_field(form.new_username, tabindex=10) }}
    {{ render_field(form.old_password, tabindex=20) }}
    {{ render_submit_field(form.submit, tabindex=90) }}
</form>

{% endblock %}