onboard/accounts/templates/accounts/account_form.html
2021-07-21 20:58:18 -06:00

20 lines
601 B
HTML
Executable File

{% 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 'account-detail' user.id %}">Cancel</a>
</form>
</section>
{% include "accounts/profile_form.html" with form=profile_form %}
</article>
{% endblock %}