site_tps/templates/edit.html
2018-01-31 11:17:31 +01:00

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 %}