14 lines
501 B
HTML
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 %}
|