2018-01-30 22:04:06 +00:00
|
|
|
{% extends 'base.html' %}
|
2018-02-12 08:16:25 +00:00
|
|
|
{% load bootstrap3 %}
|
2018-01-30 22:04:06 +00:00
|
|
|
{% block content %}
|
2018-01-31 09:15:51 +00:00
|
|
|
{% if title %}
|
|
|
|
<h1>{{title}}</h1>
|
|
|
|
{% endif %}
|
2018-01-30 22:04:06 +00:00
|
|
|
<form action="" method="post">{% csrf_token %}
|
2018-02-12 08:16:25 +00:00
|
|
|
{% bootstrap_form form %}
|
|
|
|
<button type="submit" class="btn btn-primary">
|
|
|
|
{% bootstrap_icon "star" %}
|
|
|
|
{% if validate %}
|
|
|
|
{{validate}}
|
|
|
|
{% else %}
|
|
|
|
Mettre à jour
|
|
|
|
{% endif %}
|
|
|
|
</button>
|
2018-01-30 22:04:06 +00:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|