29 lines
791 B
HTML
29 lines
791 B
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
<div id="left">
|
|
<div class="block" id="my-informations">
|
|
<h2>Mes informations</h2>
|
|
<form method="post" id="my-informations-form">
|
|
{% csrf_token %}
|
|
{% include "form_fields.html" with form=form %}
|
|
{% if form.instance and form.instance.id %}
|
|
<input type="submit" value="{% trans "Modify" %}"/>
|
|
{% else %}
|
|
<input type="submit" value="{% trans "Create" %}"/>
|
|
{% endif %}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="right">
|
|
<div class="block" id="my-password">
|
|
<h2>{% trans "My account" %}</h2>
|
|
<p><a href="{% url 'auth_password_change' %}">{% trans "Change password" %}</a></p>
|
|
<p><a href="{% url 'delete_account' %}">{% trans "Delete account" %}</a></p>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|