site_tps/templates/edit.html

15 lines
335 B
HTML
Raw Normal View History

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