{% extends "base_title.html" %}
{% load bootstrap %}

{% block page_size %}col-sm-8{%endblock%}

{% 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' %}">
                    <div class="row" style="margin: 0 15%;>
                            {% csrf_token %}
                            <fieldset"center-block">
                                {% for field in form %}
                                {{ field | bootstrap}}
                                {% endfor %}
                            </fieldset>
                    </div>
                    <div class="form-actions">
                        <input type="submit" class="btn btn-primary pull-right" value="Enregistrer" />
                    </div>
                </form>
{% endblock %}
