kpsul/gestioncof/templates/gestioncof/profile.html

27 lines
703 B
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>
<form id="profile form-horizontal" method="post" action="">
<div class="row" style="margin: 0 15%;">
{% csrf_token %}
{{ user_form | bootstrap }}
{{ profile_form | bootstrap }}
</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>
2012-07-11 17:39:20 +02:00
{% endblock %}