gestioCOF/gestioncof/templates/profile.html

33 lines
1.3 KiB
HTML
Raw Normal View History

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 %}
<form id="profile form-horizontal" method="post" action="{% url 'gestioncof.views.profile' %}">
2016-07-29 10:54:18 +02:00
<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>
2012-07-11 17:39:20 +02:00
</form>
{% endblock %}