{% extends "gestion/base.html" %}
{% load i18n %}
{% block titre %} {% trans "Modification du profil" %}{% endblock %}

{% block content %}
<div id="main">
        <section class="wrapper style1">
        <div class="inner">
          <div class="row">
              <div class="6u 12u$(small)">
<h2>{% trans "Modification du profil" %} :</h2>
{% if error %}
<p>{{ error }}</p>
{% endif %}
{% if success %}
<p>{% trans "Changement enregistré !" %}</p>
{% endif %}
<form action="{% url 'calendrier:change-doodle-name' id %}" method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="{% trans "Valider" %}" />
</form>
</div>
</div>
</div>
</section>
</div>
{% endblock %}
