forked from DGNum/gestioCOF
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
{% extends "base_title.html" %}
|
|
{% load bootstrap %}
|
|
|
|
{% block page_size %}col-sm-8{%endblock%}
|
|
|
|
{% block realcontent %}
|
|
<h2>Modifier mon profil</h2>
|
|
<form id="profile form-horizontal" method="post" action="{% url 'gestioncof.views.profile' %}">
|
|
<div class="row" style="margin: 0 15%;">
|
|
{% csrf_token %}
|
|
<fieldset"center-block">
|
|
{% for field in form %}
|
|
{{ field | bootstrap }}
|
|
{% endfor %}
|
|
</fieldset>
|
|
</div>
|
|
{% if user.profile.comments %}
|
|
<div class="row" style="margin: 0 15%;">
|
|
<h4>Commentaires</h4>
|
|
<p>
|
|
{{ user.profile.comments }}
|
|
</p>
|
|
</div>
|
|
{% endif %}
|
|
<div class="form-actions">
|
|
<input type="submit" class="btn btn-primary pull-right" value="Enregistrer" />
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|