site_tps/templates/edit.html
2018-02-28 15:06:55 +01:00

17 lines
426 B
HTML

{% extends 'base.html' %}
{% load bootstrap4 %}
{% block content %}
{% if title %}
<h1>{{title}}</h1>
{% endif %}
<form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-primary">
{% if validate %}
{{validate}}
{% else %}
Mettre à jour
{% endif %}
</button>
</form>
{% endblock %}