14 lines
335 B
HTML
14 lines
335 B
HTML
{% extends 'base.html' %}
|
|
{% block content %}
|
|
{% if title %}
|
|
<h1>{{title}}</h1>
|
|
{% endif %}
|
|
<form action="" method="post">{% csrf_token %}
|
|
{{ form.as_p }}
|
|
{% if validate %}
|
|
<input type="submit" value="{{validate}}" />
|
|
{% else %}
|
|
<input type="submit" value="Mettre à jour" />
|
|
{% endif %}
|
|
</form>
|
|
{% endblock %}
|