You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
489 B
20 lines
489 B
{% 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 %}
|
|
|