{% extends "wagtailadmin/base.html" %}
{% load i18n %}

{% block titletag %}{% trans "Change name" %}{% endblock %}
{% block content %}
    {% trans "Change name" as change_str %}
    {% include "wagtailadmin/shared/header.html" with title=change_str %}

    <div class="nice-padding">
        <form action="{% url 'wagtailadmin_account_change_name' %}" method="POST" novalidate>
            {% csrf_token %}
            <ul class="fields">
                {% for field in form %}
                    {% include "wagtailadmin/shared/field_as_li.html" with field=field %}
                {% endfor %}
            </ul>
            <input type="submit" value="{% trans 'Change name' %}" class="button" />
        </form>
    </div>
{% endblock %}
