site_tps/templates/edit.html

18 lines
426 B
HTML
Raw Normal View History

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