2018-01-30 22:04:06 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
2018-01-31 09:15:51 +00:00
|
|
|
{% if title %}
|
|
|
|
<h1>{{title}}</h1>
|
|
|
|
{% endif %}
|
2018-01-30 22:04:06 +00:00
|
|
|
<form action="" method="post">{% csrf_token %}
|
|
|
|
{{ form.as_p }}
|
2018-01-31 09:15:51 +00:00
|
|
|
{% if validate %}
|
|
|
|
<input type="submit" value="{{validate}}" />
|
|
|
|
{% else %}
|
2018-01-30 22:04:06 +00:00
|
|
|
<input type="submit" value="Mettre à jour" />
|
2018-01-31 09:15:51 +00:00
|
|
|
{% endif %}
|
2018-01-30 22:04:06 +00:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|