20 lines
489 B
HTML
20 lines
489 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>
|
|
{% if link %}
|
|
<a href="{{link}}">{{link_text}}</a>
|
|
{% endif %}
|
|
{% endblock %}
|