{% extends 'base.html' %}

{% block content %}
<article class="panel">
    
    <section>
        <h1>Update Profile</h1>
        <p><a href="{% url 'password_change' %}">Change password</a></p>
        <form method="post" action="{% url 'account-update' user.id %}">
            {% csrf_token %}
            {{ form.as_p }}

            <input type="submit" value="Save changes" class="action-button"> or
            <a href="{% url 'core:topic-list' %}">Cancel</a>
        </form>
    </section>
</article>
{% endblock %}
