18 lines
502 B
HTML
Executable File
18 lines
502 B
HTML
Executable File
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
<article>
|
|
<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="btn"> or
|
|
<a href="{% url 'account-detail' user.id %}">Cancel</a>
|
|
</form>
|
|
</section>
|
|
</article>
|
|
{% endblock %}
|