17 lines
426 B
HTML
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 %}
|