Denote/denote/templates/edit_user.html
2015-09-24 18:31:03 +02:00

14 lines
501 B
HTML

{% extends "base.html" %}
{% block content %}
<div id="edit_profile">Edit your profile<br/><br/></div>
{% if edited %}
<p class="edited">User successfuly updated</p>
{% endif %}
<form action="/user/edit" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" name="edit" value="Edit" /><input type="submit" name="cancel" value="Cancel" /><input type="submit" name="delete" value="Delete" onclick="return confirm('Do you really want to delete your account ?')"/>
</form>
{% endblock %}