site_tps/templates/edit.html

18 lines
426 B
HTML
Raw Normal View History

2018-01-30 23:04:06 +01:00
{% extends 'base.html' %}
2018-02-28 15:06:55 +01:00
{% load bootstrap4 %}
2018-01-30 23:04:06 +01:00
{% block content %}
{% if title %}
<h1>{{title}}</h1>
{% endif %}
2018-02-28 15:06:55 +01:00
<form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
2018-02-12 09:16:25 +01:00
{% bootstrap_form form %}
<button type="submit" class="btn btn-primary">
{% if validate %}
{{validate}}
{% else %}
Mettre à jour
{% endif %}
</button>
2018-01-30 23:04:06 +01:00
</form>
{% endblock %}