2012-07-11 17:39:20 +02:00
|
|
|
{% extends "base_title.html" %}
|
2016-07-14 19:29:15 +02:00
|
|
|
{% load bootstrap %}
|
|
|
|
|
|
|
|
{% block page_size %}col-sm-8{%endblock%}
|
2012-07-11 17:39:20 +02:00
|
|
|
|
|
|
|
{% block realcontent %}
|
|
|
|
<h2>Modifier mon profil</h2>
|
|
|
|
{% if success %}
|
|
|
|
<p class="success">Votre profil a été mis à jour avec succès !</p>
|
|
|
|
{% endif %}
|
2017-02-09 21:04:32 +01:00
|
|
|
<form id="profile form-horizontal" method="post" action="{% url 'cof.views.profile' %}">
|
2016-07-29 10:54:18 +02:00
|
|
|
<div class="row" style="margin: 0 15%;">
|
2016-07-25 19:19:07 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
<fieldset"center-block">
|
|
|
|
{% for field in form %}
|
2016-09-04 13:14:26 +02:00
|
|
|
{{ field | bootstrap }}
|
2016-07-25 19:19:07 +02:00
|
|
|
{% endfor %}
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
2016-09-04 13:14:26 +02:00
|
|
|
{% if user.profile.comments %}
|
|
|
|
<div class="row" style="margin: 0 15%;">
|
|
|
|
<h4>Commentaires</h4>
|
|
|
|
<p>
|
|
|
|
{{ user.profile.comments }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2016-07-25 19:19:07 +02:00
|
|
|
<div class="form-actions">
|
|
|
|
<input type="submit" class="btn btn-primary pull-right" value="Enregistrer" />
|
|
|
|
</div>
|
2012-07-11 17:39:20 +02:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|